xyzyx
2008-08-08 14:10:10 UTC
This is a repeat: Is there a way to control a DAQPad 6020E in C#.Net? A reply from Mike W (mickeyw) said to use code in NI-DAQ/Examples/DotNET2.0/Cs, but that code doesn't work. I get an error message that "Device identifier is invalid" and status code -20220. Apparently that code is only for newer DAQmx devices, whereas the 6020e is a "Traditional NI-DAQ (Legacy) Device". That code works fine with a MIO-16E board.
I see some postings related to this issue, but it isn't clear what to do.
My 6020e has a steady green lignt (device is configured OK according to the manual) and it works fine using the test panel in the Traditional Device section of Measurement and Automation Explorer, so the hardware isn't broken.
Paul
I see some postings related to this issue, but it isn't clear what to do.
My 6020e has a steady green lignt (device is configured OK according to the manual) and it works fine using the test panel in the Traditional Device section of Measurement and Automation Explorer, so the hardware isn't broken.
Paul