03-29-2011 05:18 AM
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
Solved! Go to Solution.
03-30-2011 04:52 PM - edited 03-30-2011 04:53 PM
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,
03-30-2011 05:41 PM
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.
04-01-2011 07:39 AM
Hi Andrew,
This is what I'm looking for....thanks very much!
04-01-2011 05:20 PM - edited 04-01-2011 05:21 PM
Hi Versil1,
You're welcome. Glad I could help.
Regards,