06-01-2009 05:23 PM
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
Solved! Go to Solution.
06-01-2009 06:18 PM
06-02-2009 10:18 AM
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.
06-02-2009 10:31 AM
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.
06-02-2009 10:43 AM