Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

It is possible to work on an event mode with a CR1000?


fi Mar 17, 2014 01:30 PM

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"?


Dana Mar 17, 2014 03:38 PM

Would the DataEvent instruction accomplish what you want, and perhaps a little easier?

Information on DataEvent is in the CRBasic help file.

Dana W.


fi Mar 18, 2014 10:42 AM

Yes, it should works efficiently.

Thank you for your help.

Firmin

Log in or register to post/reply in the forum.