SetServerInfo Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)


LabVIEWAdapter.SetServerInfo ( serverType, serverInformation)


Specifies which LabVIEW server the LabVIEW Adapter uses to run VIs.


You can specify the LabVIEW ADE, a LabVIEW ActiveX server, a LabVIEW Runtime, or instruct TestStand to automatically use the LabVIEW Runtime that corresponds to the saved version of the VI. The LabVIEW Adapter uses either a LabVIEW ActiveX Automation server or a supported LabVIEW Run-Time Engine to run VIs. If you specify an ActiveX server, it can be either a supported LabVIEW development environment or a supported version of a LabVIEW-built application that has enabled the LabVIEW ActiveX server. Refer to the NI TestStand Readme for more information about the versions of LabVIEW TestStand supports.


serverType As LabVIEWServerTypes

[In] Specifies the type of LabVIEW server—either a LabVIEW ActiveX server or a LabVIEW Run-Time Engine.

serverInformation As String

[In] Identifies the LabVIEW server that the LabVIEW Adapter currently uses.

    - "LabVIEW" to instruct TestStand to use the active version of LabVIEW.

    - The progID for the LabVIEW ActiveX servers.

    - The path to the LabVIEW Runtime (lvrt.dll).

    - "AutoDetect" to instruct TestStand to use the LabVIEW Runtime that corresponds to the saved version of a VI.

See Also




Not Helpful