Event Recorder  Version 1.0.0
MDK Debugger Views for Status and Event Information
 All Files Functions Macros Groups Pages
/component_viewer/objects/object/.../list

Define lists or linked lists of objects.

Note
This element is different than /component_viewer/objects/object/out/.../list, which is used for the output.

Example:

<object name="ListVars">
<list name="i" start="0" limit="10" >
<var name="j" type="uint8_t" value="5" />
<calc>
j += j+i;
</calc>
</list>
</object>

 

Parent Element Element Chain
object /component_viewer/objects/object
list /component_viewer/objects/object/.../list (self reference)
Attributes Description Type Use
name Name of the list. The name can be used in Expressions. xs:string required
start Expression that specifies the initial value. xs:string required
limit Maximum value. xs:string optional
while Create a while-loop. xs:string optional
cond Conditional execution: element is executed when expression result is not 0. Default value is 1. xs:string optional
Child Element Description Type Occurrence
list Iterate a list (loop). ListTypeO 0..*
readlist Read complex variables, arrays, or linked lists. ReadlistType 0..*
read Read scalar variables or arrays from target system. ReadType 0..*
var Define temporary variables. VarType 0..*
calc Calculate temporary variables. CalcType 0..*