VeriStand .NET API Reference

IModelManager.GetSingleParameterValue Method

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

Gets the value of a single model parameter present on the first target. You must use the GetSingleParameterValue 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 GetSingleParameterValue ( _
	parameter As String, _
	<OutAttribute> ByRef value As Double _
) As Error
C#
Error GetSingleParameterValue(
	string parameter,
	out double value
)
Visual C++
Error^ GetSingleParameterValue(
	String^ parameter, 
	[OutAttribute] double% value
)

Parameters

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