IWorkspace.GetSingleChannelValue Method
- Updated2023-02-21
- 2 minute(s) read
Gets 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 GetSingleChannelValue ( _ name As String, _ <OutAttribute> ByRef newVal As Double _ ) As Error |
| C# |
|---|
Error GetSingleChannelValue( string name, out double newVal ) |
| Visual C++ |
|---|
Error^ GetSingleChannelValue( String^ name, [OutAttribute] 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 of the specified channel.