VeriStand .NET API Reference

IModelManager2.GetParameterVectorValues Method (String, String, UInt32, UInt32, Double[])

Gets a two-dimensional vector array of values for 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 GetParameterVectorValues ( _
	target As String, _
	parameter As String, _
	<OutAttribute> ByRef rowDim As UInteger, _
	<OutAttribute> ByRef colDim As UInteger, _
	<OutAttribute> ByRef values As Double() _
) As Error
C#
Error GetParameterVectorValues(
	string target,
	string parameter,
	out uint rowDim,
	out uint colDim,
	out double[] values
)
Visual C++
Error^ GetParameterVectorValues(
	String^ target, 
	String^ parameter, 
	[OutAttribute] unsigned int% rowDim, 
	[OutAttribute] unsigned int% colDim, 
	[OutAttribute] array<double>^% values
)

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 parameter for which to get the vector values. Use the GetParametersList method to get a list of model parameters from which you can select this input.
rowDim
Type: System.UInt32 %
The number of rows in the vector array.
colDim
Type: System.UInt32 %
The number of columns in the vector array.
values
Type: System.Double %
The vector array of values.

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