Returns the relay name that is in the relay list at the specified index.

Use this VI in a For Loop to get a complete list of valid relay names for the switch module. Use the Number of Relays property to determine the number of relays.

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 relay name

    relay name specifies the name of the relay.

    Examples of valid relay names are ch0, ab0, 1wire, and hlselect

    Refer to Devices for a list of valid relay names for the switch module.

  • ierrcodeclst.png error out

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