Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview code for either daq cards

Solved!
Go to solution

Hi all,

I'm currently reading analog signals using USB-6210 device and DAQmx function. How would I write my code so it would work with either USB-6210 or USB-6218 since both devices has similar pinouts.

 

Thanks

dp128 

0 Kudos
Message 1 of 5
(3,060 Views)
They seem to have the same specs for analog input. You don't have to do anything differently.
0 Kudos
Message 2 of 5
(3,057 Views)

Thank you. But I'm not sure I understand your answer. What I meant was how to write a "smart" & "universal" code that can recognize and work with either DAQ cards. Let say at one test station I will use the USB-6218, but at another station I will use the USB-6210 instead since I have a mix inventory of both devices. But I want to use the same LV program on both station. 

 

0 Kudos
Message 3 of 5
(3,040 Views)
Solution
Accepted by topic author dphan128

You don't have to write anything to recognize a different DAQ board. It's that simple. They both have the same number of input channels and they both have the same max sample rate. You would only have to worry if your program was doing analog out.

 

When you install a sinlge DAQ card on one pc, MAX will enumerate it as dev1. If you do the same thing with a different DAQ board on a different pc, it will be enumerated there as dev1. As I said, there is no differences to account for.

Message 4 of 5
(3,037 Views)
Got it now! Thank you DN.
0 Kudos
Message 5 of 5
(3,033 Views)