mccdaq / mcculw

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

Error 126: Cannot find CB.CFG file #21

Closed BRV64 closed 2 years ago

BRV64 commented 4 years ago

I try to run this code on : https://github.com/mccdaq/mcculw But it sends me this error. Can somebody tell me what's wrong or provide the file?

value = ul.a_in(board_num, channel, ai_range) Traceback (most recent call last): File "", line 1, in File "C:\Users\ROBOT\AppData\Local\Programs\Python\Python38-32\lib\site-packages\mcculw\ul.py", line 84, in a_in _check_err(_cbw.cbAIn( File "C:\Users\ROBOT\AppData\Local\Programs\Python\Python38-32\lib\site-packages\mcculw\ul.py", line 5877, in _check_err raise ULError(errcode) mcculw.ul.ULError: Error 126: Cannot find CB.CFG file.

BRV64 commented 4 years ago

I had to grab the file from C:\ProgramData\Measurement Computing\DAQ Uninstall InstaCal Install it again Restart Put the file back into the folder

jeffreyg3 commented 4 years ago

I have been in communication with BRV64 regarding this matter. Turns out he just needed to run InstaCal with his USB-TC attached so he could generate the missing CB.CFG file. he is up and running now.

donBriner commented 1 year ago

I'm having the same issue. I had the USB-DT9816 plugged in, and verified working with the QuickDAQ software, then unistalled InstaCal and reinstalled. Still no sign of CB.CFG anywhere.

Any help would be appreciated. Thanks.

FaSoa commented 1 year ago

Data Translation's DT9816 is not supported under MCC's Universal Library software. With the DT9816, the supported software options to use are DT Open Layers API, QuickDAQ, LV-Link3 for LabVIEW, DASYLab, and MATLAB.

Note: there is no Python support for the DT9816.

donBriner commented 1 year ago

Bummer, thanks.