Table Of Contents

Abort (G Dataflow)

Version:
    Last Modified: July 24, 2019

    Transitions the NI-DCPower session from the Running state to the Uncommitted state.

    If a sequence is running, the Abort node is stopped.

    connector_pane_image
    datatype_icon

    session in

    Instrument session obtained from the Initialize With Channels node.

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    With the following exception, the node responds to this input according to standard error behavior. This node runs normally even if an error occurred previously. If an error occurred before this node runs, the node passes the error in value to error out, and no errors that occur while this node runs are recorded. If an error occurs while this node runs and no error occurred previously, the node sets its own error status in error out.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    session out

    Handle used to identify the session in all subsequent NI-DCPower node calls.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Disabling Power Output

    Use the Configure Output Enabled node to disable power output on a per channel basis. Use the Reset node to disable power output on all channels.

    Sequence of NI-DCPower Nodes

    Any configuration nodes called after Abort are not applied until the Initiate node is called. If power output is enabled when you call the Abort node, the output channels remain in their current state and continue providing power.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics