VeriStand .NET API Reference

IModelManager2.GetSingleParameterValue Method (String, String, Double)

Gets 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 GetSingleParameterValue ( _
	target As String, _
	parameter As String, _
	<OutAttribute> ByRef value As Double _
) As Error
C#
Error GetSingleParameterValue(
	string target,
	string parameter,
	out double value
)
Visual C++
Error^ GetSingleParameterValue(
	String^ target, 
	String^ parameter, 
	[OutAttribute] double% value
)

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 get the value.
value
Type: System.Double %
The value of 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