Example Code

Extracting File Information

Code and Documents

Attachment

Overview:

This example shows how to extract various pieces of information from files on disk.

 

Description:

This VI demonstrates how you can load the manufacturers information present on .NET DLLs.


Requirements:
1. LabVIEW 2012 (or compatible), Windows OS.

 

Steps to Implement or Execute Code:
1. Select the file you want to extract the information from.
2. Run the VI
3. Info will be shown. (if file is not inserted VI will return an error)

 

Additional Information or References:

Get DLL information - LV2012 NI Verified.png

Misha

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

Comments
Paolo_Squillari
Member
Member
on

Good solution!

You could also use the: C:\Program Files\National Instruments\LabVIEW 2009\vi.lib\Platform\fileVersionInfo.llb\FileVersionInfo.vi