Get Channel Name

Returns the channel string that is in the channel table at the specified index.

Use this node in a For Loop to get a complete list of valid channel names for the switch module. Use the Channel Count property to determine the number of channels.

Inputs/Outputs

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

Default value: No error

datatype_icon

index

Input that adds a 1-based index into the channel table.

The maximum value is equal to the value of the Channel Count property.

Default value: 1

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

datatype_icon

channel string

Channel string that is in the channel table at index.