... | ... | @@ -21,26 +21,28 @@ Even if the incoming value (or parts of it in case of a vecotr) can be used more |
|
|
|
|
|
## Examples
|
|
|
|
|
|
incoming key: _temp (contains values in numerical format, e.g. 1.230)
|
|
|
outgoing key: _temp
|
|
|
outgoing name: Temperature
|
|
|
outgoing type: Double
|
|
|
Unit: °C
|
|
|
formula:
|
|
|
|
|
|
incoming key: _accl (contains values in the format e.g. [0.1, 1.1, 0.5])
|
|
|
outgoing key: _accl_sum
|
|
|
outgoing name: Acceleration (resulting)
|
|
|
outgoing type: Double
|
|
|
Unit: g
|
|
|
formula: ```sqrt($[N(0)]_accl$^2+$[N(1)]_accl$^2+$[N(2)]_accl$^2)```
|
|
|
|
|
|
incoming key: _ble_temp (contains values in hexadecimal format e.g. A2F8)
|
|
|
outgoing key: _ble_temp_puck
|
|
|
outgoing name: Temperature PUCK
|
|
|
outgoing type: Double
|
|
|
Unit: °C
|
|
|
formula: ```if(($[H]_ble_B00BDB_temp$@&H.00FF) < H.0080 , ((($[H]_ble_B00BDB_temp$@&H.00FF)@<<8)+(($[H]_ble_B00BDB_temp$@&H.FF00)@>>8))/100 , ((($[H]_ble_B00BDB_temp$@&H.00FF)@<<8)+(($[h]_ble_B00BDB_temp$@&H.FF00)@>>8)-H.FFFF)/100)```
|
|
|
incoming key: _temp (contains values in numerical format, e.g. 1.230)
|
|
|
outgoing key: _temp
|
|
|
outgoing name: Temperature
|
|
|
outgoing type: Double
|
|
|
Unit: °C
|
|
|
formula:
|
|
|
|
|
|
incoming key: _accl (contains values in the format e.g. [0.1, 1.1, 0.5])
|
|
|
outgoing key: _accl_sum
|
|
|
outgoing name: Acceleration (resulting)
|
|
|
outgoing type: Double
|
|
|
Unit: g
|
|
|
formula:
|
|
|
```sqrt($[N(0)]_accl$^2+$[N(1)]_accl$^2+$[N(2)]_accl$^2)```
|
|
|
|
|
|
incoming key: _ble_temp (contains values in hexadecimal format e.g. A2F8)
|
|
|
outgoing key: _ble_temp_puck
|
|
|
outgoing name: Temperature PUCK
|
|
|
outgoing type: Double
|
|
|
Unit: °C
|
|
|
formula:
|
|
|
```if(($[H]_ble_B00BDB_temp$@&H.00FF) < H.0080 , ((($[H]_ble_B00BDB_temp$@&H.00FF)@<<8)+(($[H]_ble_B00BDB_temp$@&H.FF00)@>>8))/100 , ((($[H]_ble_B00BDB_temp$@&H.00FF)@<<8)+(($[h]_ble_B00BDB_temp$@&H.FF00)@>>8)-H.FFFF)/100)```
|
|
|
|
|
|
|
|
|
```
|
... | ... | |