FAQ(s)

⌘K
  1. Home
  2. Docs
  3. FAQ(s)
  4. Application
  5. Different data and send intervals during day/night

Different data and send intervals during day/night

Q: Is it possible to have different data log and send intervals during day and night?

A: Yes, this can be done by using alarming.

Create a calculated parameter, representing a daytime-window, checked against the current time.

In the next example, “daytime window” will be 08:00 – 20:00, that implies that “the current time” must be equal or greater than 08:00 and less than 20:00.

  • Use “time”, “ge” and “lt” compare functions in the formula.
  • Time variable is representing the number of seconds after 00:00, convert the seconds to hours, to use in the calculation.
  • 08:00*3600 = 28800 and 20*3600 = 72000
  • The formula will return “2” (true) or “0” (False). The value “2” is chosen to cope with alarming and hysteresis in the parameter definitions.

Step 2

  • Setup the Normal (for Nighttime) and Alarm mode (for Daytime) Data log and Send intervals.
  • The Data log intervals from “General settings” menu.

Step 3

  • Modify send intervals from your used “Modem output” protocol (like TCP).

Step 4

  • Setup the alarm parameters. First, make a decision, setting Continuous alarm Sampling to “On” or “Off”.

(A) When you choose for “Continious alarm sampling Off”:

The first “normal mode interval” time must match the “day period” start time (08:00 in the example) to perform a switch from night to daytime cycle. The last “Alarm mode interval” time must match the “day period” end time (20:00 in the example) to perform switching from day to nighttime cycle.

(B) When you choose for “Continuous alarm sampling On”:

Start /end switch time (08:00 and 20:00 in the example) and normal /alarm data log interval time matching is not necessary to perform switching over between day and night cycle. The switch time calculation is done every second. (And as a result, the activity led will flash every second).

Note: this option is more power consuming.

Step 5

  • Parameter setup.

Change the parameter as shown. Mind the changes on: Name, Code, Decimals, High alarm limit and Hysteresis.

At this point, configuration is done.

After saving and returning the data logger into running mode, from the Main menu, start the Processing Status information screen.

(By pressing <Cntrl>+A, <Shift>+S and <Cntrl>+D).

  • Wait time value from the line “System SD Card” will show the next “Data log interval” moment. (Related to the current time).
  • Search for the “Output TCP” (Used for sending data in this example), the Wait time value will show the next “Send interval” moment.

How can we help?