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

Timed Loop

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Executes one or more subdiagrams, or frames, sequentially each iteration of the loop at the period you specify. Use the Timed Loop when you want to develop VIs with multirate timing capabilities, precise timing, feedback on loop execution, timing characteristics that change dynamically, or several levels of execution priority. Right-click the structure border to add, delete, insert, and merge frames. If you use the Timed Loop in an FPGA VI, the loop executes one subdiagram at the same period as an FPGA clock.

Double-click the Input Node or right-click the structure and select Configure Timed Loop to display the Configure Timed Loop dialog box, where you can configure the Timed Loop. The values you enter in the Configure Timed Loop dialog box appear next to the input terminals on the Input Node.

Unlike the While Loop, the Timed Loop does not require wiring to the stop terminal. If you do not wire anything to the stop terminal, the loop will run interminably.

Refer to the Configuring Timed Loops topic for more information about using and configuring the Timed Loop. Refer also to the Nodes of the Timed Loop topic and the Nodes of the Timed Loop with Frames topic for more information about nodes of the Timed Loop.

Examples

Refer to the following VIs for examples of using the Timed Loop:

  • Offset for the Timed Loop VI: labview\examples\general\timedloop.llb
  • Optimizing timed loop rate VI: labview\examples\general\timedloop.llb
  • PAC Simulation With Frames VI: labview\examples\general\plat-timedloopframes.llb
  • PAC Simulation VI: labview\examples\general\timedloop.llb
  • Resettable Timing VI: labview\examples\general\timedloop.llb

Resources


 

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