LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI code to read Hard Drive serial number?

Hello, I'm looking for an example of C code that will read and report the serial number from the PC hard drive and from a USB memory stick . Thanks!

0 Kudos
Message 1 of 4
(3,565 Views)

This post from Al S should be of much help.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,552 Views)

Thanks Roberto! I'll give it a try

0 Kudos
Message 3 of 4
(3,522 Views)

Since most drive serial numbers are shown in hex, line 29 in my original example Roberto referred to should be

"\tVolume serial number = %x\n"

0 Kudos
Message 4 of 4
(3,506 Views)