03-05-2010 03:12 PM
The attached vi does the acquire the data properly but I also need to monitor data in real time.
Any help would be greatly appreciated.
03-05-2010 03:18 PM
If I understand you correctly, you want to do DAQ in a loop at a specified rate, but you want the data to display on the front panel at a slower rate. If that's the case, you can create another loop that run at a slower rate to display your data. You can pass the data from one loop to another through a queue.
03-05-2010 03:50 PM
03-05-2010 04:14 PM
03-08-2010 11:21 AM
Hi HelpMe9211,
As Mark alluded to, having extraneous code in the same loop as your data acquisition could cause issues. It is generally a good idea to minimize the amount of code in your data acquisition loop and perform processing (display, file I/O, etc.) in other loops. This is often known as a Producer/Consumer architecture. This looks like it may be the way to go for your application. You can find the framework for the Producer/Consumer architecture by going to File»New and then browsing to VI»From Template»Frameworks»Design Patterns»Producer/Consumer Design Pattern (Data).
Hope this is helpful!
Aaron P
National Instruments
Applications Engineer