Begins at start and decrements counter by one each time the VI is called when activate is set to TRUE.

This VI is similar to the Decrement function.

Note By default, reentrant execution is enabled in all Point By Point VIs.


icon

Inputs/Outputs

  • cu32.png start

    start is the initial value of counter if you set activate to TRUE.

  • cbool.png activate

    activate, when TRUE, initiates a countdown beginning at the start value. When FALSE, the VI does not count down.

  • cbool.png initialize

    initialize, when TRUE, initializes the internal state of the VI.

  • iu32.png counter

    counter is the decremental value where counter = (previous counter – 1). The value of counter changes only after you set activate to TRUE.

  • ibool.png zero crossing

    zero crossing is FALSE by default. If counter reaches zero, zero crossing becomes TRUE and causes the value of counter to become start again.