leybodv / pyopspec

Program to control operando spectroscopic experiment
0 stars 0 forks source link

program crushes during connection to watlow furnace controller #5

Open leybodv opened 5 months ago

leybodv commented 5 months ago

Trying to read furnace controller serial number by:

device_sn = self._watlow_protocol.readParam(param=1032, data_type=str)

throws following exception:

Traceback (most recent call last): File "", line 1, in File "C:\Users\GC\AppData\Local\Programs\Python\Python312\Lib\site-packages\pywatlow\watlow.py", line 325, in readParam output = self._parseResponse(response) ^^^^^^^^ UnboundLocalError: cannot access local variable 'response' where it is not associated with a value

leybodv commented 5 months ago

see this issue