VeriStand .NET API Reference

Table of Contents

IWorkspace.SetSingleChannelValue Method

Sets the value of a single channel 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 SetSingleChannelValue ( _
	name As String, _
	newVal As Double _
) As Error
C#
Error SetSingleChannelValue(
	string name,
	double newVal
)
Visual C++
Error^ SetSingleChannelValue(
	String^ name, 
	double newVal
)

Parameters

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

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

newVal
Type: System.Double
The value 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