LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get All serial numbers from a computer.

Get All serial numbers from a computer.

 

I have an application were knowing which computer the program is being run on is a very important aspect.  I want to be able to get the Hard Drive Serial Number, the Motherboard Serial number, and any other devices that are installed on the computer.  This includes such things as NI Can Cards (PCMCIA), AN SCXI Chaises and PCI cards.

This information will provide the necessary link and will prevent an misconceptions as to what was and is installed on the computer.

 

Any and all help that can be provided for this would be greatly appreciated.  

0 Kudos
Message 1 of 3
(3,685 Views)
Hi Kyle,

To get you started, I have attached a VI that will return the serial number information for any devices in your system that use the NI-DAQmx drivers.  In addition, this VI will allow you to obtain certain information about devices in your system that have VISA resource names.  To ensure all of your PCI devices are accessible to VISA, you must enable this option in Measurement and Automation Explorer.  In MAX, go to Tools>>NI-VISA>>VISA Options and select the radio button "Show all devices accessible to VISA" in the "PXI/PCI and Firewire Interfaces" section.  The property node in the top for loop of the VI contains various properties about these devices that can be accessed.  As far as other non-NI devices in your system, a call to an external Windows DLL may be your best option for obtaining serial number information about the hard drive, motherboard, etc.

Regards,
Andrew W
National Instruments
0 Kudos
Message 2 of 3
(3,645 Views)

Hi Andrew,

Thank you for the information.  I will try this in the next couple of weeks because a new issue that needs more attention has come up.

Thanks again for the help.

Kyle

0 Kudos
Message 3 of 3
(3,572 Views)