Resets all instruments in the session to a known state.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void ResetDevice()

Remarks

The method disables power generation, resets all properties for all instruments included in the session to their default values, clears errors such as overtemperature and unexpected loss of auxiliary power, commits the instrument properties, and leaves the instrument(s) in the Uncommitted state. This method also performs a hard reset on the instrument(s) and driver software. This method has the same functionality as using reset in Measurement and Automation Explorer.

This method opens the output relay on instruments that have an output relay.

Note

NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

Exceptions

TypeDescription
System.ObjectDisposedException

The ResetDevice method was called after the associated NIDCPower object was disposed.