LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Examples on LabVIEW 7.1

Hi i have been using LabVIEW for 2 months now and am having problems with the DAQ.
 I want to run a few examples to see how to configure my program for real-time use, and it is giving me error 10401 on every example i try
Here is the error message:
 
Possible reason(s):
NI-DAQ LV:  The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.
 
I have already checked out MAX and did a self-panel test and everything seems to be fine. I dont know why its not working
Do I need to install something else? I would appreciate any help
 
Thanks
0 Kudos
Message 1 of 4
(2,929 Views)
What kind of DAQ board do you have? Did you run the test panels from the Traditional DAQ section of MAX or from DAQmx? DAQmx is the new set of drivers for DAQ boards and if your board is supported by that, those are the examples you should be running.
0 Kudos
Message 2 of 4
(2,925 Views)

Im running the test pannels from NI-DAQmx devices from the Remote Systems options, it lists my devices there, and I am able to do the test.

However now when Im trying to run my old simulations it is giving me ERROR 200220 Saying that it cannot find device 1.

My device is PXI-6071E, when I check the examples it lists the devices which I can run the program with, and my device is there.

I really need help fast since I am supposed to test my programs tomorrow with a Logic Analyzer

0 Kudos
Message 3 of 4
(2,918 Views)

Hi Sophie-

The -10401 error is a Traditional DAQ error that generally occurs when a device is either not configured in MAX, not supported by Traditional DAQ, or if the incorrect Traditional DAQ device number is used.  Your PXI-6071E is definitely supported by Traditional DAQ, so the third possibility is the most likely.  NI-DAQmx device numbers can differ from Traditional DAQ device numbers, so you might want to check this.

You can verify both device numbers in Measurement and Automation Explorer (MAX).  Make sure that the device numbers you use in your LabVIEW examples match the appropriate device numbers in MAX.  So, if you're running a Traditional DAQ example (white VIs with AI Config, etc) you must use the Traditional DAQ number.  If you're running an NI-DAQmx example (red/white VIs that say "DAQmx") you must use the "DevX/ai0" format used in the test panels.

EDIT:  I forgot to mention that both drivers can NOT be used at the same time, and if you have run Traditional DAQ programs before you have to reset the Traditional DAQ driver in MAX (right-click on Traditional (Legacy) NI-DAQ Devices) before you are able to access the device again through NI-DAQmx.

Hopefully this helps-

 

Message Edited by Tom W. on 07-27-2005 03:52 PM

Message Edited by Tom W. on 07-27-2005 03:52 PM

Tom W
National Instruments
0 Kudos
Message 4 of 4
(2,904 Views)