Need clean-up after interrupting a power supply monitoring loop
There is currently a fundamental problem with running multiple processes that interact with a power supply in long loops. The monitoring programs being the main example of this. If you interrupt (ie: Ctrl+C) a monitoring loop after labRemote sends a command to the power supply and before reading the response, the response is still stored in the power supply's output buffer. Thus the next read operation, even if it is from a different process with a different command, will return the interrupted response.
I noticed this when using the RS-232 connection. In this case, we interact directly with the power supply and are responsible for reading out the device's output buffer.