getState raises exception 51 (Unknown Value)
Posted: Thu Jan 10, 2019 12:41 am
With an 1012 i/o board, in the channel attach event, calling the channel getState sometime returns exception 51 EPHIDGET_UNKNOWNVAL.
It is not consistent - sometimes it happens, sometimes not.
Stack trace:
File "/home/pi/Envs/djhome/lib/python3.6/site-packages/Phidget22/Devices/DigitalInput.py", line 127, in getState
raise PhidgetException(result)
Phidget22.PhidgetException.PhidgetException: 51
I am unable to understand why/when.
Can you kindly suggest how i can better debug?
It is not consistent - sometimes it happens, sometimes not.
Stack trace:
File "/home/pi/Envs/djhome/lib/python3.6/site-packages/Phidget22/Devices/DigitalInput.py", line 127, in getState
raise PhidgetException(result)
Phidget22.PhidgetException.PhidgetException: 51
I am unable to understand why/when.
Can you kindly suggest how i can better debug?