Retrieving Application and Shared Library Versions Programmatically (Windows)

You can use the fileVersionInfo.llb located in the labview\vi.lib\Platform directory to retrieve the version information of a stand-alone application or shared library programmatically. The VI is not available on the Functions palette.

Note The LabVIEW Professional Development System includes the Application Builder. If you use the LabVIEW Base Development System or Full Development System, you can purchase the Application Builder separately by visiting the National Instruments Web site.

Complete the following steps to retrieve the version information of an application or shared library programmatically.

  1. In the FileVersionInfo VI, the top-level VI of the LLB, specify in the Application path in path control the location on disk of the application or shared library whose version information you want to retrieve.
  2. Run the VI.

LabVIEW returns the version information in the File Version Info and FileVersionInfo Out indicators.