From 59c4a81efae1b847b11cbd6ff57de710da20c719 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 7 Jan 2022 15:30:03 -0500 Subject: added debug --- qolab/hardware/i_server/i800.py | 1 + 1 file changed, 1 insertion(+) (limited to 'qolab/hardware/i_server/i800.py') diff --git a/qolab/hardware/i_server/i800.py b/qolab/hardware/i_server/i800.py index b7b2fc9..7061482 100644 --- a/qolab/hardware/i_server/i800.py +++ b/qolab/hardware/i_server/i800.py @@ -38,6 +38,7 @@ class I800(BasicInstrument): s.send(qstr.encode('ascii')) reply = s.recv(100).decode('ascii') s.close() + print(f'{reply=}') rlist=reply.split(); # occasionally there is more than one reply, it also removes \r reply=rlist[-1]; # we will use the last one if reply[0:5] != f'{modbus_cmnd}': -- cgit v1.2.3