DCPowerOutputSource.OverrangingEnabled Property
- Updated2024-01-04
- 2 minute(s) read

DCPowerOutputSourceOverrangingEnabled Property
Gets or sets whether NI-DCPower allows setting the voltage level, current level, voltage limit and current limit outside the device specification limits.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public bool OverrangingEnabled { get; set; }
Public Property OverrangingEnabled As Boolean Get Set
Property Value
Type: Booleanif overranging is enabled; otherwise, . The default value is false.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The property was accessed after the associated NIDCPower object was disposed. |
OperationNotSupportedException | The property was accessed to unsupported hardware. |
SelectorNameException | The property was accessed with an unknown channel name. |
IviCDriverException | The underlying NI-DCPower driver returned an error. |
Remarks
Refer to the Ranges topic in the NI DC Power Supplies and SMUs Help topic in the NI DC Power Supplies and SMUs Help for more information about overranging.
![]() |
---|
This property is not supported by all instruments. Refer to the Supported Properties by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments. |
![]() |
---|
To use the per-channel version of this property, you must first initialize the session with the NIDCPower(String, Boolean, String) constructor. If the session was initialized with a deprecated constructor, use the per-session version of this property instead or include all channels. |