3 / 4
[SERIAL:ID]
, where SERIAL
is the sensor's serial number and ID
is the channel Id as displayed in the Source ID column.
+0.5
to the first channel of sensor A01234
, one would write:
[A01234:00] + 0.5
Note that values from multiple sensors can be supported:
[A01234:00] + 1.3 * [B01234:02]
[SERIAL:ID_nc]
.
For instance, the following formula returns the difference between the calibrated and uncalibrated value of the second channel of sensor A01234
:
[A01234:01]-[A01234:01_nc]
[A01234:01] > 10 ? 1 : 0
The Javascript Math object is available to provide mathematical functions and constants. For instance:
Math.max([A01234:00], [A01234:01], [B01234:02])