from NIDAQmx Serial Number by Gus Lott
A utility (mex file) to extract the hardware serial number from a National Instruments DAQmx device

All files for NIDAQmx Serial Number
/nidaq_serial.c
/nidaq_serial.m

Contact us at files@mathworks.com