LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffering measurement data

Hallo all,

 

I have a question regarding buffering measured data in Labview 2011.

I am trying to process the same data measured continuously with a compactDAQ and a NI 9234 module, with two different data window lengths.

In both cases the same sampling frequency can be used, but for one part of the program I want to process it on a window of 20 ms, and in another part of the program I want to do something else on a window of 200 ms.

I guess that it is best to set Samples to read to include 20 ms of data, and then buffer that data for the second part of the program. How can I do that? 

 

Kind regards,

Vladimir

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

Vladimir,

 

Take a look at the "Collector" Express VI.  It will create a buffer than will always return the specified number of samples.  You are correct in setting your samples to read to include 20ms of data and then set the collector to store enough samples for 200ms.

 

http://zone.ni.com/reference/en-XX/help/371361H-01/lvexpress/collector/

 

There are other ways to accomplish what you're asking, but this is the easiest.

 

Regards,

 

Simon

0 Kudos
Message 2 of 2
(2,093 Views)