Table Of Contents

Configure Output Enabled (G Dataflow)

Last Modified: April 2, 2018

Enables or disables generation on the specified channel(s).

Depending on the selected output function, the voltage level, current level, or output resistance must be set in addition to enabling the output to generate the desired level. For more information about configuring the output level, refer to the Configure Output Function node.

spd-note-note
Note  

If the device is in the Uncommitted state, enabling the output does not take effect until you call the Initiate node.

connector_pane_image
datatype_icon

session in

Instrument session obtained from the Initialize With Channels node.

datatype_icon

channel name

Output channel(s) to which to apply this configuration value.

Channel Name Syntax

You can input the channel name with the following options:
  • A single channel, such a 0
  • A list of channels, such as 0,1 or 3,2,1,0.
  • A range of channels, such as 0-7 or 0:7.
spd-note-note
Note  

The order of channels in a list is important. NI-DCPower performs configurations of multiple output channels in the order the channels occur in the list.

datatype_icon

output enabled

Boolean value that specifies whether the output channel is enabled or disabled.

True Enables generation on the specified output channel(s).
False Disables generation on the specified output channel(s). This input has no effect on the output disconnect relay. To toggle the relay, use the Output Connected property.

Default: True when you use the Initialize With Channels node to open the session. Otherwise False, including when you use a calibration session or the deprecated programming model.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input 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.

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.

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