Gets or sets whether to enable or disable overvoltage protection (OVP).

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public bool OvpEnabled { get; set; }

Remarks

The default value is true.

Refer to the Output Overvoltage Protection topic in the NI DC Power Supplies and SMUs Help for more information about overvoltage protection. 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.

Exceptions

TypeDescription
System.ObjectDisposedException

The property was accessed after the associated NIDCPower object was disposed.

Ivi.Driver.OperationNotSupportedException

The property was set to true in a session to unsupported hardware.

Ivi.Driver.SelectorNameRequiredException

The property was accessed in a multi-channel session without specifying a channel.

Ivi.Driver.SelectorNameException

The property was accessed with an unknown channel or a badly-formed channel string.