Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6251 Compatibility

Hello...
 
I hope some one can help me out here. I have a USB 6251 DAQ device, LABVIEW 8.5, DAQ driver 8.6.1 and running on Windows XP.
 
I have configured USB 6251: I am able to see it on MAX and also the test panels work well.
 
I also wrote a simple VI using DAQ assistant to acquire Analog inputs on channels 0 and 1 and it works just fine.
 
But when I ran the VI was initially programmed for PCI 6024 E, the Labview gives me error: 10401.
 
I don't have any other device other than the USB 6251 attached to my computer. On MAX USB 6251 is configured as Dev1 and also the VI that I am running also calls for Dev 1.
 
The VI written for PCI 6024 E uses traditional VI: AI Config, AI Start etc...  So my question is whether USB 6251 will work when I run traditional VI's? or am I missing something here.
 
Pls help me out.
 
Thanks
Krithika
0 Kudos
Message 1 of 5
(3,348 Views)
No, you cannot run a program that uses the traditional DAQ functions with the 6251 hardware. The 6251 is only compatible with the current driver - DAQmx.
0 Kudos
Message 2 of 5
(3,340 Views)
Thanks for the quick response!!
 
I am using the DAQMX driver 8.6.1. Its just the VI code that I am running has VI's like:  AI config, AI Read etc... The VI's are not DAQmx VI's.
 
So from what you are saying I need to use only DAQmx VI's?
 
Pls do let me know.
 
Thanks
Krithika
 
 
0 Kudos
Message 3 of 5
(3,336 Views)
I understand what you are using now and what the old program is using. My answer is still the same. You cannot use the old daq functions with your new board. You have to rewrite the old program.
0 Kudos
Message 4 of 5
(3,333 Views)
 
 

Hi Krithika,

Here is a tutorial which may help you as you upgrade your code from traditional DAQ to DAQmx.

Transition from Traditional NI-DAQ to NI-DAQmx

The following links may give you a better understanding of DAQmx in general.

Learn 10 Functions in NI-DAQmx and Solve 80% of Data Acquisition Applications
Answers to Frequently Asked Questions about NI-DAQmx and Traditional NI-DAQ (Legacy)

If you wanted to rewrite your program or look at examples, there are some in the Example Finder which can be accessed through the Help menu. The DAQmx examples can be found browsing by task under Hardware Input and Output » DAQmx.

Regards,
Kent
Applications Engineer



Message Edited by tnek on 03-31-2008 11:19 AM

0 Kudos
Message 5 of 5
(3,312 Views)