The Datalog library module is commonly found in both digital control and motor-control applications. This module stores the real time values of user selectable variables. User configurable, "n" number of variables are selected by configuring "n" module inputs, iptr[0], iptr[1], ... iptr[n-1], pointing to the address of "n" variables. Data values are stored in datalog buffers, datalogBuff[0], datalogBuff[1], ... datalogBuff[n-1].
Number of datalog channels, buffer size and data type are configurable by user with "${SDK_INSTALL_PATH}/source/rtlibs/utilities/datalog/include/datalog_input.h" file update.
Datalog library module includes user configurable:
N/A
A benchmark on Arm® Cortex®-R5F core has been conducted to observe the following results when running the following functions:
DATALOG Function | CPU Cycles |
---|---|
Auto Trigger | |
DATALOG_update | 68 |
Manual Trigger | |
DATALOG_update | 73 |
The following examples have been provided to demonstrate datalog module: