VeriStand .NET API Reference

IModelManager2.SetParameterValues Method

Sets the values of multiple model parameters present on the specified execution host.

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 SetParameterValues ( _
	target As String, _
	parameters As String(), _
	newValues As DataArray() _
) As Error
C#
Error SetParameterValues(
	string target,
	string[] parameters,
	DataArray[] newValues
)
Visual C++
Error^ SetParameterValues(
	String^ target, 
	array<String^>^ parameters, 
	array<DataArray^>^ newValues
)

Parameters

target
Type: System.String
The name of the target, or execution host, 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 names of the parameters for which to get the values.
newValues
Type: DataArray
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