Example Code

Disk Drive Info VI

Code and Documents

Attachment

(Windows) Use this VI to retrieve descriptive information, including the serial number, file system, and volume name, for hard drives or disk drives. This VI uses the Call Library Function Node to call the GetVolumeInformation function. Refer to the Microsoft Developer Network Web site at www.msdn.microsoft.com for more information about the GetVolumeInformation function.

Note: LabVIEW might prompt you to open the kernel32 DLL when you open this VI. You can find the kernel32 DLL in the WINDOWS\SYSTEM32 directory. On the block diagram, double-click the Call Library Function Node and click the Browse button to navigate to the correct DLL.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors