IWorkspace.GetMultipleChannelValues Method
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
Gets the values of multiple scalar channels running on the target. To get the values of vector channels, use the GetChannelVectorValues method.
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 GetMultipleChannelValues ( _ names As String(), _ <OutAttribute> ByRef newValues As Double() _ ) As Error |
| C# |
|---|
Error GetMultipleChannelValues( string[] names, out double[] newValues ) |
| Visual C++ |
|---|
Error^ GetMultipleChannelValues( array<String^>^ names, [OutAttribute] array<double>^% newValues ) |
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
- newValues
- Type:
System.Double
%
The values of the specified channels.