VeriStand .NET API Reference

IModelManager.SetSingleParameterValue Method

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

Sets the value of a single model parameter present on the first target. You must use the SetSingleParameterValue 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 SetSingleParameterValue ( _
	parameter As String, _
	newValue As Double _
) As Error
C#
Error SetSingleParameterValue(
	string parameter,
	double newValue
)
Visual C++
Error^ SetSingleParameterValue(
	String^ parameter, 
	double newValue
)

Parameters

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