Also, if you don't want to exhaust your hard-drive constantly, I
suggest you create a loop with a shift register to write blocks of
data to the disk. e.g. 10kb blocks or so.
This is only important, if you have a lot of data coming in
constantly.
You can of course choose the block size according to cpu and ram in
use.
> 1. Rule of Niquist says that sampling of signal must be with frequincy
> more than 2 maximal freq. of sampling signal. For your signal that
> around 1hz, sampling rate must be not less than 2 hz. As you can to
> sample with frequency 10 hz(10 samples on period, this is much more
> than enough).
> 2. If you interested only in 2 things: peak to peak distance and mean
> of peak to peak, you can use peak detection vi on LV toolbar and save
> only t
his data to your hard disk.