Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6008 - Determine the device number programmatically

I have 3 USB-6008 modules.

 

I have developed a simple analog-in program that I would like to use on all 3 6008 modules (one module at a time).

 

I realize I must create a DAQmx task for each module even though the task will be identical except for the device number (dev1 ,2 or 3).

 

When the program runs I would like to be able to determine which 6008 module is plugged in an pick the appropriate task.

 

Basically I want to be able to grab any 1 of the 3 modules and have it work with my program.

 

I am using labiew 8.2 Pro.

 

Thanks

 

Brian

0 Kudos
Message 1 of 3
(3,015 Views)
You can do it using property nodes to find the devices attached to your system and outputing the device names to the create task VI's acording to which one you have selected.  Here are links to two Knowledgebase articles discussing the issue and a modified VI that shows how to do it.
 
 
 
Alex A.
Applications Engineer
0 Kudos
Message 2 of 3
(2,991 Views)

Thanks Alex that’s what I was looking for.

 

I tried to find a tool but I didn’t see the “Daqmx system”.

 

Thanks again.

 

Brian

0 Kudos
Message 3 of 3
(2,989 Views)