@JRys I am using the MCC 1808x Daq on Raspberry pi for a while now and it was working fine, now it was disconnected for few days and now I am running the code it is throwing this error
"Active DAQ device: USB-1808X (0224DCFA)
Traceback (most recent call last):
File "/home/pi/Downloads/uldaq-1.2.3/examples/a_in.py", line 146, in <module>
main()
File "/home/pi/Downloads/uldaq-1.2.3/examples/a_in.py", line 118, in main
data = ai_device.a_in(channel, input_mode,
File "/home/pi/.local/lib/python3.9/site-packages/uldaq/ai_device.py", line 87, in a_in
raise ULException(err)
uldaq.ul_exception.ULException: ULError.DEV_NOT_CONNECTED: Device not connected or connection lost
------------------
(program exited with code: 1)
Press return to continue
"
It is reading the device and its configuration but when running the same code this error, what might be the issue, I have changed the cable, pi and power supply as well, it is working well on the Window DAQami software.