mccdaq / mcculw

MCC Universal Library Python API for Windows
MIT License
78 stars 30 forks source link

Cannot run example code with USB-TC-AI 2.xxx #39

Open EddieTheHead opened 1 year ago

EddieTheHead commented 1 year ago

I have three USB-TC-AI devices. The oldest one (v1.2) works fine with v_in.py example, but two newer ones cause the test script to hang indefinitely.

python .\v_in.py
Found 1 DAQ device(s):
  USB-TC-AI (2154A57) - Device ID = 187

Active DAQ device: USB-TC-AI (2154A57)

Value: -0.022411394864320755`

After connecting another device:

python .\v_in.py
Found 1 DAQ device(s):
  USB-TC-AI (212BCD8) - Device ID = 187

<no other output>

The product number on non-working device is 158042B-01L

FaSoa commented 1 year ago

Hello @EddieTheHead . Please confirm each channel's configuration in MCC's InstaCal utility. Are they configured as voltage channels? image

For future support requests, consider posting on MCC's subforum. https://forum.digilent.com/forum/39-measurement-computing-mcc/

Regards, Fausto