VeriStand .NET API Reference

IModel.GetModelExecutionState Method

Gets the state and running time of a model.

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 GetModelExecutionState ( _
	<OutAttribute> ByRef time As Double, _
	<OutAttribute> ByRef state As ModelState _
) As Error
C#
Error GetModelExecutionState(
	out double time,
	out ModelState state
)
Visual C++
Error^ GetModelExecutionState(
	[OutAttribute] double% time, 
	[OutAttribute] ModelState% state
)

Parameters

time
Type: System.Double %
The current running time of the model.
state
Type: NationalInstruments.VeriStand.ClientAPI.ModelState %
The current ModelState.

Return Value

This method returns an error if no configuration is running on the workspace. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience