LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to measurement sample rate

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.

0 Kudos
Message 1 of 2
(2,445 Views)

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

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,439 Views)