LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe List of Available Signals

Solved!
Go to solution

Hello everyone,

 

So I have a PXIe chassis and a bunch of PXIe 4300 AI cards. The test setup is regularly changed which means at any point the chassis could have any number of slots filled with these AI cards.

 

I want to write a program for acquisition such that the VI recognizes which slots are available and exclude the blank slots.

 

I realize that in the DAQmx Create Channel task, there is an input where you list the physical channels you want to acquire from, but how do I get the list of all available channels so I can feed it to this physical channel field?

 

I am relatively new with LabVIEW. Seeking help! Thanks in advance.

0 Kudos
Message 1 of 4
(85 Views)

Hi Silverfang,

 

using the SystemConfiguration API you can determine all available devices…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(61 Views)
Solution
Accepted by topic author Silverfang-

Retrieve All DAQmx Physical Channels of a System Programmatically

-------------------------------------------------------
Control Lead | Intelline Inc
Message 3 of 4
(35 Views)

Thanks. I tried both ways and the SystemConfig API method worked too but I think this is a simpler way to get all the active slots.

 

0 Kudos
Message 4 of 4
(20 Views)