02-15-2006 07:53 AM
02-15-2006 08:01 AM
02-15-2006 08:09 AM
You should seperate the daq from the analysis/presentation and storage of your data, this whay you can have a DAQ loop running as fast as needed and sending the data via a queue for asynchronous processing and display.
Seems a good solution. How did you do that: having 2 while loops parallel? one for display and one for storage?
Arthur
02-15-2006 08:20 AM
02-15-2006 11:34 AM
If you are using LV 7.0 or greater open a producer consumer template, place the daq read in the consumer and send the data to a queue, in the producer periodically (use a wait statement or a nother time control method) read out all the (FIFO) queues date (the great thing is that you can make the queue of the same type as the daq data. Now you can concatinate the data and process and display it. I like to save all this data to file outside of the consumer loop. The producer (daq loop will run as fast as possible while the consumer is asynchronous running as timed but never faster than it is supplied data. two loops next to each other are automatically parallel in labview and can be synchronized by a queue, notifier, occurance or any other synchronize object.
Paul