Closed alexrudd2 closed 3 years ago
Yep, the reply is ['122', '=', '34']
which is a reply to querying the value of register 122
(flow or pressure control).
here is the code that is constantly requesting the control point. If get()
gets a reply intended for _set_control_point()
or vice-versa they both are unhappy with their replies.
The above Exception is thrown about 10-20% of the time when using the command line to read a kilo lab flowmeter through the serial gateway. I suspect my command line driver is actually intercepting responses intended for the kilo lab controller when its asking for e.g. control point. I believe Alicats respond to such requests with
R{register}=xyz
or something similar. The protocol was never meant to handle multiple simultaneous connections, but it could at least catch and log the unexpected value.