TCI serial output works from control box's root command line but not from URCap python daemon

The solution turned out to be that I created the serial object ser as a global variable… the solution is found in this forum post

Creating the serial object inside of my serial_write() function and closing the port after sending data works!

1 Like