Want to write a robust, multi-loop application? The Queued Message Handler project template introduced in LabVIEW 2012 is one of the easiest ways to get started.
A screen shot from the free webinar.
The Queued Message Handler (QMH) template makes it easier to run multiple sections of code running in parallel and sending data between them. Each section of code represents a task, such as acquiring data, and is designed similarly to a state machine. Because of this design, you can divide each task into state.
This developer walkthrough video discusses some of the decisions behind the design of the Queued Message Handler, and covers all the details of the template that you'll need to know when using it as a starting point for a LabVIEW application that it may assist.