Protocol Analysis
R&S
®
Scope Rider RTH
179
User Manual 1326.1578.02 ─ 12
3. Tap "Identifier from Label" or "Address from Label".
4. Select the label. Tap "Back".
If the selected identifier or address is available in the acquired data, its value is
shown in the menu, and the instrument triggers on it.
9.1.3.2
Content and Format of the PTT File
Label lists are stored as PTT (protocol translation table) files. The PTT file format is an
extension of the CSV format (comma-separated values). You can edit it with standard
editors, for example, with MS Excel or a text editor.
The PTT file has three types of lines:
●
Comment lines begin with a hash character #. A hash character at any other posi-
tion in the line is treated like a standard character.
●
Command lines begin with a commercial at character @. An @ character at any
other position in the line is treated like a standard character.
●
Standard lines are the lines that not qualify as comment or command lines. They
build the core of the label list.
Command lines
Command lines define the version of the PTT file and the protocol name:
●
@FILE_VERSION: must appear exactly once in the file
●
@PROTOCOL_NAME: must appear at least once in the file. Thus, one file can
contain several label lists for different protocols.
# --- Start of PTT file
@FILE_VERSION = 1.0
@PROTOCOL_NAME = i2c
[... Label list for I2C]
@PROTOCOL_NAME = can
[... Label list for CAN]
# --- End of PTT file
Standard lines
Standard lines define the contents of the label list. The rules for standard lines follow
the csv convention, they are:
●
Values are separated by commas
●
Space characters following a delimiter are ignored
●
Values with a special character (comma, newline, or double quote) must be
enclosed in double quotes
●
Text in double quotes must be escaped by double quote characters
The format of the numeric value is indicated by a suffix. The following formats are sup-
ported:
Basics of Protocol Analysis