LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference between a simple data logger and a cont acquisition to spread sheet file vi?

Highlighted
LabVIEW 6i, Pentium 2,
0 Kudos
Message 1 of 2
(955 Views)
Highlighted
Hi,
if you speak about examples which are located in
"datalog.llb/Simple Data Logger.vi" and
"strmdisk.llb/Cont Acq to Spreadsheet File.vi"
then the difference in the way this VIs read data from the channels.
The first one uses "AI Sample channels.vi" which reads only one point from each channel per execution. This VI is located in the loop so the sampling rate is determined by the value of delay in the loop.
The "Cont Acq to Spreadsheet File.vi" uses the continious reading and it reads the data buffer with many points from each channel per execution. Also the sampling rate of such acquisition is determined by the value of "scan rate" node in "AI Start.vi". In this regime you can read data faster then with "AI Sample channels.vi"
As for saving data to disk both
examples use rather simple VIs for working with files.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 2
(955 Views)