Increments counter by one each time the VI is called when activate is set to TRUE.

This VI is similar to the Increment function.

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


icon

Inputs/Outputs

  • cbool.png activate

    activate, when TRUE, initiates an incremental count. When FALSE, the VI does not count.

  • cbool.png initialize

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

  • iu32.png counter

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

  • ibool.png overflow

    overflow is FALSE by default. If counter reaches overflow, overflow becomes TRUE and causes the value of counter to become 1 again.