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

Use this VI 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.

Related Topics


icon

Inputs/Outputs

  • civrn.png instrument handle

    instrument handle identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI.

  • ci32.png index (1)

    index is a 1-based index into the channel table. The default value is 1. The maximum value is equal to the value of the Channel Count property.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png instrument handle out

    instrument handle out identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI and used for all subsequent NI-SWITCH calls.

  • istr.png channel string

    channel string returns the channel string that is in the channel table at index.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.