Wait Until Next Multiple
- Updated2026-02-19
- 2 minute(s) read
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.

Dialog Box Options
| Option | Description |
|---|---|
| Counter Units | Unit of time the VI uses for the counter.
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.
|
| Size of Internal Counter | The maximum time the timer can track. |
Inputs/Outputs
Count(Ticks)
—
Specifies the time between loop iterations.
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. |
Count(Ticks)
—
Tick Count(Ticks)
—