Returns the number of times the relay has changed from Closed to Open. Relay count is useful for tracking relay life and use. Call the niSwitch Wait For Debounce VI before this VI to ensure an accurate count.

Refer to Relay Count to determine if the switch module supports relay counting.

Related Topic


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.

  • cstr.png relay name

    relay name specifies the name of the relay.

  • 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.

  • ii32.png count

    count is the number of relay cycles.

  • ierrcodeclst.png error out

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