NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerControl Class

  • Updated2024-01-04
  • 3 minute(s) read
DCPowerControl Class

DCPowerControl Class

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

Inheritance Hierarchy

SystemObject
  NationalInstruments.ModularInstruments.NIDCPowerDCPowerSubObject
    NationalInstruments.ModularInstruments.NIDCPowerDCPowerControl

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

Syntax

public sealed class DCPowerControl : DCPowerSubObject
Public NotInheritable Class DCPowerControl
	Inherits DCPowerSubObject

The DCPowerControl type exposes the following members.

Methods

  NameDescription
Public methodAbort
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 output 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.
Public methodCommit
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitiate
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience