LabVIEWAdapter.GetServerInfo
- Updated2025-07-21
- 1 minute(s) read
LabVIEWAdapter.GetServerInfo
Syntax
LabVIEWAdapter.GetServerInfo( serverType, serverInformation)
Purpose
Returns information about the LabVIEW server that the LabVIEW Adapter is currently configured to use for running VIs. Returns AutoDetect when you select the Autodetect using VI version option in the Select or Type Which LabVIEW Server to Use section of the LabVIEW Adapter Configuration dialog box.
Remarks
The LabVIEW Adapter uses a LabVIEW ActiveX Automation server or a LabVIEW Run-Time Engine.
Parameters
serverType As LabVIEWServerTypes
[Out] Returns the LabVIEW server that the LabVIEW Adapter currently uses.
- "LabVIEW" - TestStand is using the active version of LabVIEW.
- - The progID for a LabVIEW ActiveX server.
- - The path to a LabVIEW Runtime ( lvrt.dll ).
- - "AutoDetect" - TestStand is using the LabVIEW Runtime that corresponds to the saved version of a VI.
serverInformation As String
[Out] Returns the progID of the LabVIEW ActiveX server or the path of the LabVIEW Run-Time Engine that the adapter is currently using.