IWorkspace.SetSingleChannelValue Method
- Updated2023-02-21
- 2 minute(s) read
Sets the value of a single channel on the target.
Namespace:
NationalInstruments.VeriStand.ClientAPIAssembly: 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.