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

Simple Real-Time Queue with Time-Critical Loop

0 ratings | 0.00 out of 5
Print

Downloads

Filename: simple_rtq.zip
Requirements: View

This example shows how to transfer data between a time-critical loop and a non time-critical loop using the LabVIEW Real-Time Queue VIs. Take note of the priority settings of the subVI in this example. Because it contains the time-critical loop that generates the sine wave, it is set to run with time-critical priority in the execution VI properties. Also notice that the subVI has sleep time built into the loop, deferring some execution time to the non time-critical loop. This allows the non time-critical loop to send new amplitude data to the time-critical loop and plot the sine wave.

NOTE: In LabVIEW 6.0 (6i), the Real-Time FIFO has replaced the Real-Time Queue.

Requirements


Filename: simple_rtq.zip

Software Requirements


Application Software: LabVIEW Full Development System 5.1
Toolkits and Add-Ons: LabVIEW Real-Time Module
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/).