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

Timed Structures and VIs (Windows, ETS)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Structures

Use the Timed Structures and VIs to control the rate and priority at which a timed structure executes its subdiagram, synchronize the start time of timed structures, create timing sources, and establish a hierarchy of timing sources.

Example

The VIs and functions on this palette can return Timed Loop Error Codes.

Palette ObjectDescription
Build Timing Source HierarchyCreates a hierarchy of timing sources based on the names you enter in timing source names.
Clear Timing SourceStops and deletes the timing source you created or specified for use by another resource.
Create Timing SourceCreates a timing source you use as the timing source in the Timed Loop. Each timing source has its own unit of timing and/or start time and does not start until the first Timed Loop that uses the timing source starts. You must manually select the polymorphic instance you want to use.
Stop Timed StructureStops a Timed Loop or Timed Sequence structure you enter in name.
Synchronize Timed Structure StartsSynchronizes the start of Timed Loops or Timed Sequence structures you enter in timed structure names by adding the names to the synchronization group you specify in synchronization group name.
Timed LoopExecutes 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.
Timed SequenceA Timed Sequence structure consists of one or more subdiagrams, or frames, timed by an internal or external timing source that execute sequentially. A Timed Sequence structure executes each frame only once and, unlike a Timed Loop, does not repeat iterations. Use the Timed Sequence structure when you want to develop VIs that execute only once with precise timing, execution feedback, timing characteristics that change dynamically, or several levels of execution priority. Right-click the Timed Sequence structure border to add, delete, insert, and merge frames.

Example

Refer to the labview\examples\general\timedloop.llb for examples of using the Timed Structures and VIs.


Resources


 

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