Returning Serial Numbers of NI hardware using C Functions

Updated Jun 15, 2018

Issue Details

I am coding in C/C++ and wanting to return the serial numbers from my hardware. The help documentation recommends I use the "DAQmxGetDevSerialNum". It supplies an uInt32 for the serial number but not a string. Since there are string characters in my serial number, how do these integers represent my serial number?


Using the "DAQmxGetDevSerialNum" function will return a uInt32 value. This value will then need to be converted into a Hexadecimal value in order to view your serial number as listed in NI-MAX.


Not Helpful