Event Recorder  Version 1.0.0
MDK Debugger Views for Status and Event Information
 All Files Functions Macros Groups Pages
/component_viewer/events element

This is the enclosing element for event and group definitions.

Example:

<events>
<group name="Network">
<group name="System Events">
<component name="Memory Management" brief="NetMM" no="0x80" prefix="EvrNetMM_" info="Network - System - Dynamic Memory Management" />
<component name="ETH Interface" brief="NetETH" no="0x81" prefix="EvrNetETH_" info="Network - System - Ethernet Interface" />
<component name="PPP Interface" brief="NetPPP" no="0x82" prefix="EvrNetPPP_" info="Network - System - Serial PPP Interface" />
<component name="SLIP Interface" brief="NetSLIP" no="0x83" prefix="EvrNetSLIP_" info="Network - System - Serial SLIP Interface" />
<component name="Loopback Interface" brief="NetLB" no="0x84" prefix="EvrNetLB_" info="Network - System - Local Loopback Interface" />
</group>
<event id="0xA00" level="API" property="InitEntry" info="Event on MyComp_initialize start" />
</events>

 

Parent Element Element Chain
component_viewer /component_viewer element
Child Element Description Type Occurrence
event Define an event. EventType 0..*
group Create an event group. GroupType 0..*

 


/component_viewer/events/event

Define an event that can occur for the software component. The attributes property and value can consist of ASCII characters and format specifiers.

Example:

<events>
<event id="0xA00" level="API" property="InitEntry" info="Event on MyComp_initialize start"/>
<event id="0xA01" level="API" property="InitStatus" info="Event on MyComp_initialize return"/>
<event id="0xA0A" level="Error" property="SendNoData" info="Event on MyComp_initialize return"/>
<event id="0xA0B" level="Op" property="SendComplete" value="size=%d[val1]" info="Event on MyComp_send - completed"/>
<event id="0xA0C" level="Error" property="SendFailed" value="" info="Event on MyComp_send - send failed"/>
<event id="0xA15" level="Error" property="ReceiveNoData" value="" info="Event on MyComp_receive - no data received"/>
<event id="0xA16" level="Op" property="ReceiveComplete" value="size=%d[val1]" info="Event on MyComp_receive - completed"/>
<event id="0xA17" level="Error" property="ReceiveFailed" value="" info="Event on MyComp_receive - receive failed"/>
</events>

 

Parent Element Element Chain
events /component_viewer/events element
Attributes Description Type Use
id 16-bit event id value. xs:anySimpleType required
level Event severance level, used for filtering. xs:anySimpleType required
property Shown in the Event Property column of the Event Recorder window. Use specifiers to format the output. xs:string required
value Shown in the Value column of the Event Recorder window. Use specifiers to format the output. xs:anySimpleType optional
info Descriptive text with additional information (comment). xs:string optional
doc Explicit link to documentation. xs:string optional