NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerControl Methods

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

DCPowerControl Methods

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 a hash function for a particular type.
(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

See Also

Log in to get a better experience