07-26-2011 11:47 AM
I have a test that is running at 5hz and need to record 1 second of data. At the rate it currently records, there aren't enough data points for my recorded data to be valid. I am using the write to measurement express vi. It would probably be an easy fix if I were using a Daq, but it's a Delta Controller and I am using the vi's that come with the RMC instrument library. is there any way to increase the sample rate for my recording. I would like to get like 10 data points per second. I attached a vi that is very similar to what I'm doing in my main vi. Thanks in advance for any help.
07-26-2011 12:33 PM
The problem is that you're acquiring and writing to file in the same loop. The write to measurement vi takes more time to be processed than the acquire data function. You might be loosing data in the process of writing. You must use a producer/consumer design pattern.
Try this link: http://zone.ni.com/devzone/cda/tut/p/id/3023