LabVIEWAdapter.SetServerInfo

Syntax

LabVIEWAdapter.SetServerInfo( serverType, serverInformation)

Purpose

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

Remarks

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.

Parameters

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

LabVIEWAdapter.GetServerInfo

LabVIEWServerTypes