VeriStand .NET API Reference

IWorkspace2.GetSystemState Method

Gets the current state of the system to which the VeriStand Gateway is connected. Use the ConnectToSystem method to connect to a system.

Namespace: NationalInstruments.VeriStand.ClientAPI
Assembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Function GetSystemState ( _
	<OutAttribute> ByRef state As SystemState, _
	<OutAttribute> ByRef systemdefinition_file As String, _
	<OutAttribute> ByRef targets As String() _
) As Error
C#
Error GetSystemState(
	out SystemState state,
	out string systemdefinition_file,
	out string[] targets
)
Visual C++
Error^ GetSystemState(
	[OutAttribute] SystemState% state, 
	[OutAttribute] String^% systemdefinition_file, 
	[OutAttribute] array<String^>^% targets
)

Parameters

state
Type: NationalInstruments.VeriStand.ClientAPI.SystemState %
The SystemState.
systemdefinition_file
Type: System.String %
The path to the system definition file for the system.
targets
Type: System.String %
The list of targets to which the system definition file is currently deployed.

Return Value

Returns an Error object. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience