NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerOutputControl.Abort Method

  • Updated2024-01-04
  • 2 minute(s) read
DCPowerOutputControl.Abort Method

DCPowerOutputControlAbort Method

Transitions the specified channel(s) from the Running state to the Uncommitted state. If a sequence is running, it is stopped.

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

Syntax

public void Abort()
Public Sub Abort

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe method was called after the associated NIDCPower object was disposed.
SelectorNameExceptionThe method was called with an unknown channel name.
IviCDriverExceptionThe underlying NI-DCPower driver returned an error.

Remarks

Any configuration methods called after this method are not applied until the Initiate method is called.

If power output is enabled when you call this method, the output channel(s) remain in their current state and continue providing power.

Use the Enabled property or the Reset method to disable power output on a per channel basis.

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

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

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.

See Also

Log in to get a better experience