Figure 3-7. Replace the WAIT with the minimum interval specifier.
Another advantage of this last method is that both parameters for the autolog (dur-
ation and interval) are contained in the LOOP settings.
Log until sundown
Now that we know how to do an autolog program, let’s try another variation, this
time adjusting the duration. Instead of a fixed time duration, let’s make it log until
some environmental condition is met. Specifically, we’ll make a program to log a
data record every 10 minutes from the time we start the program until the sun goes
down. We’ll assume there is an external quantum sensor measuring light, and
define sundown as when the PAR reading goes below 5 µmol m
−2
s
−1
.
(A finished version of this program can be found in
/home/licor/apps/examples/LogTilDark.py).
Section 3. Some examples
3-7Log until sundown