PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI Module Information Scan

Solved!
Go to solution

Hi,

 

       I'm planning to develop a labview program thats scans information from all PXI module present in the chassis(like calibration dates, module description, etc..). Need some advice which Labview VI is capable of scanning above mentioned information wherein output is in "string" so that I could

manipulate it in the labview program itself.  As I scan for VI, one option I see is the "MAX Generate Report", but results are in html or xml(plus my PXI

hangs when I use this function).

       Appreciate any inputs on this.

 

Thanks,

Versil1

 

0 Kudos
Message 1 of 5
(3,830 Views)
Solution
Accepted by Versil1

Hi Versil1,

 

I would recommend using niModInst, DAQmx device node, and DAQmx system node. Examples for how to use those functions can be found here:

 

niModInst: Programmatically Query Device Name or Other Information Using NI-ModInst API http://decibel.ni.com/content/docs/DOC-7454

 

DAQmx device and system node: Programmatically Get DAQ Device Product Names http://decibel.ni.com/content/docs/DOC-3716

 

For outputs that are not in string format (i.e. DevNames), you can use the flatten to string function to convert them to strings.

 

Regards,

Andrew M.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,822 Views)

You could use the System Configuration API/vi's located here. Using the find function will return an array of references that you would wire into a autoindexing for loop. Inside the loop wire the reference to a property node. The ProdName property will return a string. There is also properties for calibration dates etc.

 

Hope this helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 3 of 5
(3,816 Views)

Hi Andrew,

 

        This is what I'm looking for....thanks very much!

0 Kudos
Message 4 of 5
(3,804 Views)

Hi Versil1,

 

You're welcome. Glad I could help.

 

Regards,

Andrew M.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,801 Views)