VeriStand .NET API Reference

IModelManager2.SetSingleParameterValue Method (String, String, Double)

Sets the value of 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 SetSingleParameterValue ( _
	target As String, _
	parameter As String, _
	newValue As Double _
) As Error
C#
Error SetSingleParameterValue(
	string target,
	string parameter,
	double newValue
)
Visual C++
Error^ SetSingleParameterValue(
	String^ target, 
	String^ parameter, 
	double newValue
)

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 name of the parameter for which to set the value.
newValue
Type: System.Double
The value 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