You can surface the version of a LabVIEW-built stand-alone application or shared library programmatically. Use this information to develop logic around the versions of these distributions.

Note LabVIEW Professional edition includes Application Builder. If you use LabVIEW Base edition or LabVIEW Full edition, you can purchase the LabVIEW Application Builder Module separately on ni.com.

To retrieve the version information of an application or shared library programmatically, complete the following steps.

  1. Access fileVersionInfo.llb in the file system at labview\vi.lib\Platform.

    This API is not available on the Functions palette in the LabVIEW environment.

  2. 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.
  3. Run the VI.

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