When "Sample" is used to store variables in the data table e.g. using Sample(1, AirT, FP2) and we scan data every 3 sec using Scan(3, Sec, 3, 0) and save data every minute using DataInterval(0, 1, Min, 10), what 3-sec value is stored; the first of every minute, the last, something else?
Thanks!
Sytske
The Sample will be the current measurement, so the first of every minute. If you were doing Average instead of sample, it would store the average of the previous minute at the beginning of each new minute.
If you had a DataInterval (15,60,Sec,1), then the stored sample would be the measurement taken 15 seconds into 60 seconds, so 15 seconds after the beginning of each minute.
Without the DataInterval instruction, the data will be stored to the table every time the program runs, so you would have a sample stored every 3 seconds.
Thank you!!
Sytske