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

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Timed Loop Deadlines

0 ratings | 0.00 out of 5
Print

Downloads

Filename: timed_loop_deadlines.zip
Requirements: View

This example illustrates the usage of deadlines in timed loops with frames. The timed loop deadline is a new feature in LabVIEW 8.0 that is used to specify an allotted time that a given frame within a timed loop has to execute. Deadlines are measured with respect to the start of their respective frames. If the time it takes a frame to execute exceeds that frame's deadline, then the "finished late" flag is set for that frame and the exception can be handled accordingly. This feature thus allows the user to control the timing of a timed loop to a greater degree of precision than before.

There are two frames within the timed loop in this example. Set the frame duration and deadline values (in milliseconds) for each frame and run the VI. Notice how different values effect the "Finished Late" indicators and the Loop Iteration Timing Diagram.

Requirements


Filename: timed_loop_deadlines.zip

Software Requirements


Application Software: LabVIEW Professional Development System 8.0, LabVIEW Base Development System 8.0, LabVIEW Full Development System 8.0
Language(s): LabVIEW

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).