Waits until the value of the timer becomes a multiple of Count. Use this function to synchronize activities. You can call this function in a loop to control the loop execution rate.

Note When the Wait Until Next Multiple VI executes, it sleeps and blocks the execution of the thread of the calling VI. Any code running in parallel in the VI or any VIs running in the same execution system thread will be unable to execute during the time that the Wait Until Next Multiple VI sleeps.


icon

Dialog Box Options

Option Description
Counter Units
Unit of time the VI uses for the counter.
  • Ticks—(FPGA and RT Module) Sets the counter units to a single clock cycle, the length of which is determined by the clock rate for which the VI is compiled.
  • µSec—(FPGA and RT Module) Sets the counter units to microseconds.
  • mSec—Sets the counter units to milliseconds.
Note (Windows) The Windows operating system supports only millisecond resolution. If you select a µSec or Tick resolution under Windows, the VI does not provide exact timing and instead provides an approximation that averages to the requested time over the course of the timing interval. Windows does not support resolutions under one millisecond and rounds them up to one millisecond.
  • Ticks—Sets the counter units to a single clock cycle, the length of which is determined by the clock rate for which the VI is compiled.
  • µSec—Sets the counter units to microseconds.
  • mSec—Sets the counter units to milliseconds.
Size of Internal Counter

The maximum time the timer can track.

Inputs/Outputs

  • cu32.png Count(Ticks)

    Specifies the time between loop iterations.

  • iu32.png Tick Count(Ticks)

    Returns the value of the free running counter at the time the VI wakes up. The free running counter rolls over when the counter reaches the maximum of Size of Internal Counter specified in the Configure Wait Until Next Multiple dialog box.