Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Module names per cDAQ chassis?

Solved!
Go to solution

Hi all,

is there a way to get module names cDAQ-chassis based?

 

I'm trying to check if two (or more) identical chassis with different modules are connected to my PC.

 

Example:

Module 1: cDAQ-9174 with Modules "A", "B", "C", emptySlot, in just that order

Module 2: cDAQ-9174 with Modules "D", "E", "emptySlot", "emptySlot"

 

Problem:
The "ActiveDev" property node then delivers the ProductType output array of [cDAQ-9174, cDAQ-9174, A, B, C, D, E, ...further devices on the system]

 

I can't see which of the modules is plugged into which chassis.

 

Any help is appreciated!

 

Thanks in advance

Achim

0 Kudos
Message 1 of 3
(3,902 Views)
Solution
Accepted by A-T-R

Hi Achim,

 

Please see the attachment or the screenshot for the requested functionality.

 

The example is a modified version of this example:

 

Community: Get cDAQ Module Types in LabVIEW - National Instruments
https://decibel.ni.com/content/docs/DOC-15978

If you meant something different, just write me back.

 

Best regards,

Christoph

Staff Applications Engineer
National Instruments
Certified LabVIEW Developer (CLD), Certified LabVIEW Embedded Systems Developer (CLED)


Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved
Download All
0 Kudos
Message 2 of 3
(3,877 Views)

Hi Christoph,

thanks for the code! I found a slightly different, but by far not so smart, solution...I'm checking the ActiveDev.ProductCategory, and if a "14658" shows up, I then check the ActiveDev.Chassis.ModuleDevNames, ProductType(s) for the right chassis (only one should be connected), and the right modules in this chassis.

 

Elsewise, I produce errors.

 

Best regards

A-T-R

0 Kudos
Message 3 of 3
(3,869 Views)