VeriStand .NET API Reference

IWorkspace2.GetTargetState Method

Gets the current state of a target

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 GetTargetState ( _
	target As String, _
	<OutAttribute> ByRef state As TargetState _
) As Error
C#
Error GetTargetState(
	string target,
	out TargetState state
)
Visual C++
Error^ GetTargetState(
	String^ target, 
	[OutAttribute] TargetState% state
)

Parameters

target
Type: System.String
The target name.
state
Type: NationalInstruments.VeriStand.ClientAPI.TargetState %
Current state of the target.

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