05-28-2010 10:12 AM
In our application, we have the following hardware setup:
NI PXIe-1075
+--------------+
1 | NI PXIe-8130 |
+--------------+
2 | |
+ NI PXIe-5450 +
3 | |
+--------------+
4 | |
+ NI PXIe-5450 +
5 | |
+--------------+
6 | |
+ NI PXIe-5450 +
7 | |
+--------------+
8 | |
+ NI PXIe-5450 +
9 | |
+--------------+
10| BLANK |
+--------------+
11| |
+ NI PXIe-5450 +
12| |
+--------------+
13| |
+ NI PXIe-5450 +
14| |
+--------------+
15| |
+ NI PXIe-5450 +
16| |
+--------------+
17| |
+ NI PXIe-5450 +
18| |
+--------------+
In our code I would like to be able to detect those card automatically.
In MAX, they show up as PXI2Slot2, PXI2Slot4, etc. In the LabVIEW code, when you create a constant for the input, it's PXI1Slot2, PXI1Slot4, etc.
At the moment our work-around is to change everything to Arb1, Arb2, etc. and in our input, specify an array of strings of the same input... this kind of sub-optimal.
Solved! Go to Solution.
06-01-2010 02:05 PM
Hi RS_233-
There is a KnowledgeBase article online that discusses Programmatically Determining What DAQ Devices Are In My System.
Here is an example VI that demonstrates how to do this in LabVIEW.
This should do what you want. I hope it helps. Best of luck with your application!
06-01-2010 03:16 PM
I had a similar question a while ago for PXI modular instruments. In that case, use the NI modular instrument API