VeriStand .NET API Reference

Model Constructor (String, String, String, Int32, Int32, UInt16, Boolean, Boolean, Boolean)

Initializes a new instance of Model.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Sub New ( _
	Name As String, _
	Description As String, _
	ModelPath As String, _
	Processor As Integer, _
	Decimation As Integer, _
	InitialState As UShort, _
	SegmentVectors As Boolean, _
	ImportParameters As Boolean, _
	ImportSignals As Boolean _
)
C#
public Model(
	string Name,
	string Description,
	string ModelPath,
	int Processor,
	int Decimation,
	ushort InitialState,
	bool SegmentVectors,
	bool ImportParameters,
	bool ImportSignals
)
Visual C++
public:
Model(
	String^ Name, 
	String^ Description, 
	String^ ModelPath, 
	int Processor, 
	int Decimation, 
	unsigned short InitialState, 
	bool SegmentVectors, 
	bool ImportParameters, 
	bool ImportSignals
)

Parameters

Name
Type: System.String
The name of the model.
Description
Type: System.String
The description of the model.
ModelPath
Type: System.String
The path to the uncompiled model.
Processor
Type: System.Int32
The processor on which the model runs.
Decimation
Type: System.Int32
The decimation applied to the Primary Control Loop rate to determine the base rate for executing the model.
InitialState
Type: System.UInt16
The initial execution state of the model. 0: Running. 1: Paused.
SegmentVectors
Type: System.Boolean
true (True in Visual Basic) to split up vector inputs, outputs, parameters, and signals into scalar channels when the model is loaded.
ImportParameters
Type: System.Boolean
true (True in Visual Basic) to import parameters.
ImportSignals
Type: System.Boolean
true (True in Visual Basic) to import signals.

See Also

Log in to get a better experience