From 7:00 PM CST Friday, January 24th - 7:00 PM CST Sunday, January 26th, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Wait Until Next Multiple Express VI

LabVIEW 2017 Real-Time Module Help

Edition Date: March 2017

Part Number: 370622R-01

»View Product Info
Download Help (Windows Only)

Owning Palette: RT Timing VIs

Requires: Real-Time Module

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
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

Counter UnitsUnit 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.
  • 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 CounterThe maximum time the timer can track.

Block Diagram Inputs

CountSpecifies the time between loop iterations.

Block Diagram Outputs

Tick CountReturns 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.


Not Helpful