Hi,
We survey flash floods with several sensors at two sampling frequency ( 5 min and 200 ms).
We want to save the 200ms data table only in "event mode" to avoid the accumulation of useless data.
For the moment we use the upper sensor with a threshold to call the 200ms data table.
( If value>threshold Then
Call 200ms table
end if )
We would like to improve this method by define the threshold on a moving average and not only a sample.
In order to do the operation, we think create a work data table also at 200ms with a low rigging memory.
PROBLEM:
HOW TO RETRIEVE FOR EXAMPLE 1 MIN OF DATA WRITE ON THE "WORK DATA TABLE" AND SAVE IT ON THE"SAVE DATA TABLE"?
Would the DataEvent instruction accomplish what you want, and perhaps a little easier?
Information on DataEvent is in the CRBasic help file.
Dana W.
Yes, it should works efficiently.
Thank you for your help.
Firmin