Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4LabVIEW)  1.26.2
TraceLib
Collaboration diagram for TraceLib:

Modules

 Trace modules
 
 Trace buffers
 
 Trace entries
 
 Version and Permission
 
 Structs, types, ...
 

Detailed Description

Provide access to the common internal tracing module of the device.

The tracing system provides a mechanism for collecting and viewing device debug output. Logs from various components and the firmware system are collected in a circular buffer, which then can be read and viewed. There are 3 types of logs in the trace system: message, warning and error. For better filtering and to minimize performance impact on the running system, the logs can be grouped to modules and each module can be activated or deactivated. A log to an activated module is written to one of the given circular buffers of the trace system. Logs to deactivated modules are discarded. It is possible to read the current content of the buffers.

The following diagram shows the information flow of a trace message in the system.

overview_tracelib.png
Note
The TraceLib functions trace their debug information mainly into module the MLPI_TRACE_LIB and in addition into the module MLPI_BASE_MODULES. For further information, see also the detailed description of the library TraceLib and the notes about Using the Trace for debugging.