Adding parameters to existing traces
Parameters can be used to associate data to traces: integers, strings and enumerations. A parameter
specifies the format in which the parameter is shown in the viewer and text
label associated with the parameter.
To add parameters to existing
traces, do the following:
- Select an existing trace from either of the following places:
- from the source code
- from the TraceBuilder tree view.
- Click the TraceBuilder menu and select Add New Parameter.
- In the Parameter Name field, enter the variable name you want to
add to your trace.
- In the Parameter Type field, enter the type for your parameter.
The type defines how the parameter should be determined, for example:
- Signed means signed integer and Unsigned means unsigned integer.
- Hex means that the parameter is an integer, but should be shown as hexadecimal number.
- Also possible Enumerations are shown in the end of this list.
- (Optional) Select a Template for your parameter.
The template defines pre-defined parameters that have special properties.

- Click OK. You should get this kind of change to your trace:

Note that you can always edit the trace text also manually.
Now you can go on to compiling your source code.
Related tasks