VeriStand .NET API Reference

IModelManager.SetParameterVectorValues Method

This method is deprecated in NI VeriStand 2010 and later. Use the SetParameterVectorValues method of the IModelManager2 interface instead.

Sets the vector values for a model parameter present on the first target. You must use the SetParameterVectorValues method of the IModelManager2 interface if you want to specify one of multiple targets.

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 ( _
	parameter As String, _
	newValues As Double() _
) As Error
C#
Error SetParameterVectorValues(
	string parameter,
	double[] newValues
)
Visual C++
Error^ SetParameterVectorValues(
	String^ parameter, 
	array<double>^ newValues
)

Parameters

parameter
Type: System.String
The names of the parameter for which to set 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 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