VeriStand .NET API Reference

IWorkspace2.SetChannelValues Method

Sets values for the channels you specify.

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 SetChannelValues ( _
	names As String(), _
	newVals As DataArray() _
) As Error
C#
Error SetChannelValues(
	string[] names,
	DataArray[] newVals
)
Visual C++
Error^ SetChannelValues(
	array<String^>^ names, 
	array<DataArray^>^ newVals
)

Parameters

names
Type: System.String
The names of the channels for which to set values.
newVals
Type: DataArray
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