VeriStand .NET API Reference

Table of Contents

IWorkspace.SetMultipleChannelValues Method

Sets the values of multiple channels on the 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 SetMultipleChannelValues ( _
	names As String(), _
	values As Double() _
) As Error
C#
Error SetMultipleChannelValues(
	string[] names,
	double[] values
)
Visual C++
Error^ SetMultipleChannelValues(
	array<String^>^ names, 
	array<double>^ values
)

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

values
Type: System.Double
The values to set.

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