Get Serial Number of NI Hardware Programmatically

Updated Jun 26, 2019

Reported In

Software

  • System Configuration

Driver

  • NI-DAQmx

Issue Details

How can I get the serial number and other information of NI hardware programmatically? 

Solution

  • For all NI devices

    System Configuration API could be used to get the serial number of NI hardware device. 
    Please download the example ReadSerialNums.vi for more detail.

     
  • For NI DAQ device
  1. The serial number could be acquired by DAQmx property node. In the function palette of the block diagram, the "Device Node" could be found at Measurement I/O > Advance > I/O Constant > Device Node.
  1. Choosing the information needed by clicking the Device Node and select in the Identification category
  1. Assigning the DAQ device and executing the vi would get the information of the DAQ hardware.
 

Attachments

WAS THIS ARTICLE HELPFUL?

Not Helpful