NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerDriverUtility.Reset Method (String)

  • Updated2024-01-04
  • 1 minute(s) read
DCPowerDriverUtility.Reset Method (String)

DCPowerDriverUtilityReset Method (String)

Resets the specified channel(s) to a known state. This method disables power generation, resets channel properties to their default values, commits the channel properties, and leaves the channel(s) in the Uncommitted state.

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023

Syntax

public void Reset(
	string channelString
)
Public Sub Reset ( 
	channelString As String
)

Parameters

channelString
Type: SystemString
Specifies the channels to use. Specify the channel(s) using the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3 or PXI1Slot3/0,PXI1Slot3/2:3,PXI1Slot4/2:3, where PXI1Slot3 and PXI1Slot4 are instrument resource names and 0, 2, and 3 are channels. If you do not provide channel(s), all channels in the session are used.

Exceptions

ExceptionCondition
ObjectDisposedException The Reset method was called after the associated NIDCPower object was disposed.

Remarks

You can use this method to clear certain errors in less time than using the ResetDevice method.

Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for information about the specific software states.

See Also

Log in to get a better experience