GetVIVersion Method

Requires: Base Development System

Class: Application Methods (ActiveX)

Returns the version of LabVIEW in which the VI was last saved. LabVIEW does not open the VI when retrieving the version information. If you specify a path to a file that is not a VI, LabVIEW returns error 6559.

Syntax

object.GetVIVersion(VIPath, versNum)

Parameters

NameTypeDescription
VIPathStringPath to the VI whose version you want to get.
versNumunsigned longReturns the version number of the VI specified in viPath.

Return Value

String