Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

How to get Chassis serial number with system configuration C API?

Highlighted

How to get Chassis serial number with system configuration C API?

I am able to get all of the hardware serial and alias information, but how do you specifically get the chassis itself?

0 Kudos
Message 1 of 2
(632 Views)

Re: How to get Chassis serial number with system configuration C API?

Hello,

 

See this LabVIEW example using the same API and convert it to LabWindows/CVI functions.

 

Programmatically Read the Serial Number of a PXIe Chassis
https://forums.ni.com/t5/Example-Programs/Programmatically-Read-the-Serial-Number-of-a-PXIe-Chassis/...

 

LabVIEW VIs used are the following, you should be able to find the C API equivalents by searching NI System Configuration API Help.

 

Initialize

Create Filter

(Property Node) System Filter: Is Chassis

Find

(Property Node) System Hardware: Serial Number

Close

Close

Close

 

Here are the links I found on the property nodes:

 

Property Node (Filter) Descriptions
http://zone.ni.com/reference/en-XX/help/373107E-01/nisyscfg/property_node_filter/

 

Property Node (Hardware) Descriptions
http://zone.ni.com/reference/en-XX/help/373107E-01/nisyscfg/property_node_hardware/

 

0 Kudos
Message 2 of 2
(600 Views)