Device.AOCurrentRanges Property
- 已更新2023-02-21
- 閱讀時間為 1 分鐘
Indicates pairs of output current ranges supported by this device. Each pair consists of the low value, followed by the high value.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public double[] AOCurrentRanges { get; }
Public ReadOnly Property AOCurrentRanges As Double() Get
Property Value
Type: DoubleIndicates pairs of output current ranges supported by this device. Each pair consists of the low value, followed by the high value.
Exceptions
| Exception | Condition |
|---|---|
| DaqException | The NI-DAQmx driver returned an error. |
Remarks
This property returns a copy of the actual array. Avoid calling this property within a for loop because it creates a copy for each iteration of the loop. Avoid using an indexer to set a member of the array because the indexer returns a copy of the object and has no effect on the actual object.