Application Methods (ActiveX)

LabView ActiveX Properties and Methods

Application Methods (ActiveX)

Installed With: Base Package

An Application object exports methods that affect LabVIEW.

Note  Method parameters denoted by [] are optional for that method.

Refer to the ActiveX Enumerations for more information about the enumerations used in various methods.

MethodDescription
BringToFrontOn Windows and Mac OS, brings the application windows to the front. Details
BrowseDataSocketLaunches the National Instruments DataSocket Browser dialog box to establish a connection to a DataSocket item. Details
CreateLibraryCreates a new LabVIEW project library. Details
GetVIReferencePlaces a VI in memory and returns the IDispatch pointer for the VI. Details
GetVIVersionReturns 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. Details
LibraryGetFileLVVersionReturns the version of LabVIEW in which the LabVIEW project library was created. Details
MassCompileLoads and compiles all the VIs in a directory, including any VIs in subdirectories, for the specified application instance. Details
NewProjectCreates a new, empty LabVIEW project. You also can use the LabVIEW Project Explorer window to create a new project. Details
OpenLibraryOpens the LabVIEW project library. Details
OpenProjectLoads a LabVIEW project from disk. If the project is already in memory, this method returns a reference to the existing project. You can use this reference with the Project properties. In LabVIEW, you also can select File»Open Project to navigate to and open a project. Details
QuitQuits the application. Details