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

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.
Note

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.

Note

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

TypeDescription
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.