niDCPower Reset Device VI

NI DC Power Supplies and SMUs Help (NI-DCPower)

Edition Date: January 2018

Part Number: 370736U-01

View Product Info

DOWNLOAD (Windows Only)


NI-DCPower (English | Japanese)
Installed With: NI-DCPower

Resets the device to a known state. This VI disables power generation, resets session properties to their default values, clears errors such as overtemperature and unexpected loss of auxiliary power, commits the session properties, and leaves the session in the Uncommitted state. This VI also performs a hard reset on the device and driver software. This VI has the same functionality as using reset in Measurement & Automation Explorer (MAX). Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for more information about software states.

This VI opens the output relay on devices that have an output relay.

niDCPower Reset Device

/images/reference/en-XX/help/370736U-01/cio.gif

instrument handle identifies a particular instrument session. instrument handle is obtained from the niDCPower Initialize With Channels VI.

/images/reference/en-XX/help/370736U-01/cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. With the following exception, this provides standard error in functionality.

This node runs normally even if an error occurred previously. If an error occurred before this node runs, the node passes the error in value to error out, and no errors that occur while this node runs are recorded. If an error occurs while this node runs and no error occurred previously, the node sets its own error status in error out. The default is no error.

/images/reference/en-XX/help/370736U-01/cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

/images/reference/en-XX/help/370736U-01/ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370736U-01/cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

/images/reference/en-XX/help/370736U-01/iio.gif

instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.

/images/reference/en-XX/help/370736U-01/ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

/images/reference/en-XX/help/370736U-01/ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

/images/reference/en-XX/help/370736U-01/ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370736U-01/istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

WAS THIS ARTICLE HELPFUL?

Not Helpful