Table Of Contents

Can Connect Channels (G Dataflow)

Version:
Last Modified: January 17, 2018

Verifies that a path can be created between two channels.

If a path is possible in the switch module, the availability of that path is returned given the existing connections. If the path is possible but in use, an Implicit Connection Exists warning is returned.

connector_pane_image
datatype_icon

session in

Control that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node.

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

channel 1

One of the channel names of the desired path. Pass the other channel name as channel 2.

Examples of valid channel names are ch0, com0, ab0, r1, c2, and cjtemp.

datatype_icon

channel 2

One of the channel names of the desired path. Pass the other channel name as channel 1.

Examples of valid channel names are ch0, com0, ab0, r1, c2, and cjtemp.

datatype_icon

session out

Indicator that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node and used for all subsequent NI-SWITCH 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.
datatype_icon

path capability

Value that indicates whether a path is valid.

Name Description
Path Available

The path is possible and available.

Path Exists

The path is possible, but already exists.

Path Unsupported

The path is not possible in the specified switch module and topology.

Resource In Use

The path is possible, but elements of the path are in use by another existing path. You must destroy the other path before creating this one.

Source Conflict

The path is possible, but connecting the channels will connect two sources.

Channel Not Available

The channel 1 and channel 2 inputs are configuration channels and are thus unavailable for external connections.

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