Provides methods to control the programming state of NI-DCPower.

Derives from

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public class DCPowerControl : DCPowerSubObject

Remarks

For more information, refer to NI DC Power Supplies and SMUs Help.

Thread Safety

All members of this type are safe for multithreaded operations.

Methods

NameDescription
Abort()

Transitions the NI-DCPower session from the Running state to the Uncommitted state. If a sequence is running, then the NI-DCPower session is stopped. Any configuration methods called after this method are not applied until the Initiate method is called. If power output is enabled when you call the Abort method, the channels remain in their current state and continue providing power. Use the Enabled property to disable power output on a per channel basis. Use the Reset method to disable output on all channels.

Commit()

Applies the settings that you configured previously to the device. Calling this method moves the NI-DCPower session from the Uncommitted state into the Committed state. If you modify any property after you call this method, the NI-DCPower session reverts to the Uncommitted state. Use the Initiate method to transition to the Running state.

Initiate()

Starts generation or acquisition, causing the NI-DCPower session to leave the Uncommitted state or Committed state and enter the Running state. To return to the Uncommitted state call the Abort method.