VeriStand .NET API Reference

Content Type
Programming Language
Current manual
Table of Contents

IModel.SetModelExecutionState Method

Sets the current execution state of a model.
Note:

This method initiates a request operation on the server. Successful invocation of the method does not imply that the state of the model has changed.

Namespace: NationalInstruments.VeriStand.ClientAPI
Assembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)

Syntax

Visual Basic (Declaration)
Function SetModelExecutionState ( _
	command As ModelCommand _
) As Error
C#
Error SetModelExecutionState(
	ModelCommand command
)
Visual C++
Error^ SetModelExecutionState(
	ModelCommand command
)

Parameters

command
Type: NationalInstruments.VeriStand.ClientAPI.ModelCommand
The ModelCommand, or execution state.

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

Was this information helpful?