VeriStand .NET API Reference

IModelManager2.SetParameterVectorValues Method (String, String, Double[])

Sets a two-dimensional vector array of values for a single model parameter present on the specified 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 SetParameterVectorValues ( _
	target As String, _
	parameter As String, _
	newValues As Double() _
) As Error
C#
Error SetParameterVectorValues(
	string target,
	string parameter,
	double[] newValues
)
Visual C++
Error^ SetParameterVectorValues(
	String^ target, 
	String^ parameter, 
	array<double>^ newValues
)

Parameters

target
Type: System.String
The name of the target to query. This parameter expects the name of the target as specified in the system definition file. For example: Controller
parameter
Type: System.String
The parameter for which to set the vector values. Use the GetParametersList method to get a list of model parameters from which you can select this input.
newValues
Type: System.Double
The vector array of values to set on parameter.

Return Value

Returns an Error object. This method returns ComponentNotAvailable if the current configuration does not support parameter configuration. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience