OverrangingEnabled
- Updated2025-10-06
- 1 minute(s) read
Gets or sets whether NI-DCPower allows setting the voltage level, current level, voltage limit and current limit outside the device specification limits.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public bool OverrangingEnabled { get; set; }
Remarks
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, bool, string) constructor. If the session was initialized with a deprecated constructor, use the per-session version of this property instead or include all channels.
true if overranging is enabled; otherwise, false. The default value is false.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The property was accessed after the associated NIDCPower object was disposed. |
| Ivi.Driver.OperationNotSupportedException | The property was accessed to unsupported hardware. |
| Ivi.Driver.SelectorNameException | The property was accessed with an unknown channel name. |
| Ivi.Driver.IviCDriverException | The underlying NI-DCPower driver returned an error. |