LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the same code in PXI systems with different modules?

I have a program running on a PXI system, but want to run it on an additional PXI system that has a different module...specifically, one has a 6071E and the other has two PXI 6224's.  Is there a way for the program to check for the existing hardware and then make appropriate changes?

0 Kudos
Message 1 of 3
(1,136 Views)

You can use the Property Node DAQmx System DevNames to get a list of names of all the DAQ devices in the system. From that you can get the type of devices that are installed and run the code based on the devices that are installed.

Omar
0 Kudos
Message 2 of 3
(1,129 Views)

Using the System Configuration tools, you can get a list of all instruments in your system.  Then search the output array for the instrument you want.

 

GetSystemResources.png

- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 3
(1,124 Views)