LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

My USB-6501 will run test panels fine but not supplied examples in CVI

When I run any of the examples I get a "NON-FATAL RUN-TIME ERROR", creating a DI or DO channel results in the Status Code -201003. The device cannot be accessed. I have LabWindows/CVI 8.0 and DAQmx 8.5. Any hints would be appreciated, thanks.
0 Kudos
Message 1 of 4
(3,578 Views)
DaqMx examples are all hard-coded in that device configuration is included inside the source code and can possibly be different from your actual configuration. For example, ReadDigChan sample project reads from Dev1/port0/line0:7 (taken from UIR control): check you actual board configuration and adapt sample code according to it.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,574 Views)
Thanks, got it working. I wrongly assumed that when NI say that example is for a particular board, it will work for that particular board.
0 Kudos
Message 3 of 4
(3,561 Views)
Hi Kazino,

Is there a particular example that you were having difficulty with?  I would like to take a look at the documentation and address any concerns that you have.

Regards,

Jennifer O.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,536 Views)