Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Wait Until Next Multiple Express VI

LabVIEW 8.6 Real-Time Module Help
June 2008

NI Part Number:
370622F-01

»View Product Info

Owning Palette: Real-Time Timing VIs

Installed With: RT 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

ParameterDescription
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

ParameterDescription
Countis the time between loop iterations.

Block Diagram Outputs

ParameterDescription
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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit