VeriStand .NET API Reference

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

Sets the values of multiple model parameters 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 SetMultipleParameterValues ( _
	target As String, _
	parameters As String(), _
	newValues As Double() _
) As Error
C#
Error SetMultipleParameterValues(
	string target,
	string[] parameters,
	double[] newValues
)
Visual C++
Error^ SetMultipleParameterValues(
	String^ target, 
	array<String^>^ parameters, 
	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
parameters
Type: System.String
The list of model parameters to set values for.
newValues
Type: System.Double
The values to set on the parameters.

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