LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query cdaq chassis for configuration

Solved!
Go to solution

I'm trying to figure out a way for Labview to correctly detect the number of modules in a CDAQ chassis. The code below will create a file of the MAX configuration and parse it to find what I need correctly. I will even detect if you add a module. But if you remove a module or even unplug the chassis it still gives the maximun number of modules that were installed, not the current number.

Is there a way to get MAX to update its configuration when appropriate or a way to query the chassis directly?

 

Thanks

 

Get MAX config.png

0 Kudos
Message 1 of 3
(2,753 Views)
Solution
Accepted by topic author GDthomas

Assuming you're using DAQmx, I think this is what you need:

 

devnames.png

 

Just go through the array one at a time getting the info you need from the property nodes.

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

Well looks I forgot the KISS principle. I think I can make that work.

 

Thanks!!

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