Blocks Dataloger
Contents
Back to Libraries
Datalogger library
To support for datalogger functionality package metel-datalogger must be installed first.
root@iplog:~# opkg update root@iplog:~# opkg install metel-datalogger
On the internal webpage of IPLOG is new link for datalogger.
Maximum writing rate is 100 key-value pairs per second. Minimal writing period of key-value pair is 100 ms.
Capacity for raw integer values (including bools) is 1 080 000 entries.
Capacity for raw string values is 1 080 000 entries.
Integer values are compressed to aggregation tables by seconds, minutes, hours and days. Stored are count, sum, min, max and first value for each key in given period.
Capacity of aggregation tables are 1 080 000 for seconds and minutes, 876 000 for hours and 730 000 for days.
After fill tables capacity, oldest values will be automaticaly removed.
Logging
DATALOGGER_W_BOOL
Writes binary value to datalogger
Asynchronous interface | ||||
in | KEY | string | key for logged value | |
in | VALUE | bool | value |
DATALOGGER_W_DINT
Writes signed integer value to datalogger
Asynchronous interface | ||||
in | KEY | string | key for logged value | |
in | VALUE | dint | value |
DATALOGGER_W_UDINT
Writes unsigned integer value to datalogger
Asynchronous interface | ||||
in | KEY | string | key for logged value | |
in | VALUE | udint | value |
DATALOGGER_W_STRING
Writes string value to datalogger
Asynchronous interface | ||||
in | KEY | string | key for logged value | |
in | VALUE | string[255] | value |