06-07-2012 05:53 PM
Here is an example of using a producer/consumer design pattern for data acquisition. This example uses DAQmx functions, but it illustrates the architecture and queuing well. The basic idea is that you have a producer loop (top one) that reads in your data as fast as possible and then queues that data up to be passed to the consumer loop were the processing is done; thereby, not slowing down the acquisition.
You can also find this pattern by in LabVIEW going to File » New » From Template » Frameworks » Design Patterns » Producer/Consumer Design Pattern (Data).
06-08-2012 02:51 AM
This is very clever. Thanks for showing me.