VeriStand .NET API Reference

IWorkspace.GetMultipleChannelValues Method

Gets the values of multiple scalar channels running on the target. To get the values of vector channels, use the GetChannelVectorValues method.

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 GetMultipleChannelValues ( _
	names As String(), _
	<OutAttribute> ByRef newValues As Double() _
) As Error
C#
Error GetMultipleChannelValues(
	string[] names,
	out double[] newValues
)
Visual C++
Error^ GetMultipleChannelValues(
	array<String^>^ names, 
	[OutAttribute] array<double>^% newValues
)

Parameters

names
Type: System.String
The names of the channels. You must enter the full path to each channel as specified in the system definition file. For example:

Targets/Controller/Simulation Models/Models/delay_random/Inports/In1

newValues
Type: System.Double %
The values of the specified channels.

Return Value

Returns an Error object. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience