aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/i_server
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 15:30:03 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 15:30:03 -0500
commit59c4a81efae1b847b11cbd6ff57de710da20c719 (patch)
tree44b6cb81298a6640120c69b01686a1a1702f5e6a /qolab/hardware/i_server
parentff54137f2ebdfb75b3abe10ef5fd6e43bf6fbd0d (diff)
downloadqolab-59c4a81efae1b847b11cbd6ff57de710da20c719.tar.gz
qolab-59c4a81efae1b847b11cbd6ff57de710da20c719.zip
added debug
Diffstat (limited to 'qolab/hardware/i_server')
-rw-r--r--qolab/hardware/i_server/i800.py1
1 files changed, 1 insertions, 0 deletions
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}':