Data Logger blueberry COMPACT
Wilmers Messtechnik GmbH
- 18 -
Data Logger blueberry COMPACT
Wilmers Messtechnik GmbH
- 19 -
Example:
Cumulated Rainfall
actualRain (mm) = 0.1 * b3
cumulRain (mm) =
(#cum (actualRain else 0))
else actualRain else 0
These two functions record actual and cumu-
lated rainfall.
cumulRain
adds the actual rain-
fall to the previous cumulated rainfall. When
the measurement starts
#cumulRain
is invalid
because no previous value exists. The result
is then replaced by
actualRain
. If this value is
also invalid the result is set to
0
. The
else
op-
erator defines the starting value and prevents
the cumulative value from being reset in case
of an invalid value of
actualRain
.
Example:
Low Pass Filter
noisy = 62.5 * a6 – 55
damped = (0.1 * noisy + 0.9 * #damped) else noisy
This function implements a low pass filter that
smooths a noisy value.
damped
provides a
damped value of the actual measurement value
provided by
noisy
.
Operator Summary
The following table lists examples of results based
on the operators with different parameters.
Results for: a = ...
–2.7183
0
+2.7183
nan
a
else
b
–2.7183
0
2.7183
b
b
if
a
b
nan
b
nan
b
if
a
else
c
b
c
b
c
valid
a
1
1
1
0
!
a
0
1
0
0
a
>
0
0
0
1
nan
a
<
0
1
0
0
nan
a
==
0
0
1
0
nan
a
!=
0
1
0
1
nan
a
>=
0
0
1
1
nan
a
<=
0
1
1
0
nan
a
%
1
0.2817
0
0.7183
nan
a
%
0.01
0.0017
0
0.0083
nan
a–(a
%
0.01)
–2.72
0
2.71
nan
abs
a
2.7183
0
2.7183
nan
int
a
–2
0
2
nan
round
a
–3
0
3
nan
ln
a
nan
nan
1.0000
nan
Variables
Variables
The variables
a1
..
an
correspond to the
first to nth value inside the data line
sent by the first sensor. The
blueberry
INPUT module
supplies the voltages
of all inputs in Volt as well as the fre-
quency in Hertz and the counted puls-
es. In addition to the variables, oth-
er function names can be used inside
a measurement function. They must
be defined former to the function in
which they are used as a variable. A
#
character in front of a function name
provides the measurement value of the
previous measurement.
Summary of Contents for blueberry COMPACT
Page 1: ...Manual Data Logger blueberry COMPACT...
Page 4: ...Data Logger blueberry COMPACT Wilmers Messtechnik GmbH 4...
Page 11: ...Data Logger blueberry COMPACT Wilmers Messtechnik GmbH 11...
Page 45: ...Data Logger blueberry COMPACT Wilmers Messtechnik GmbH 45 N O T E S...
Page 46: ...Data Logger blueberry COMPACT Wilmers Messtechnik GmbH 46 N O T E S...
Page 47: ......