User Manual
Protocol Analysis
R&S
®
Scope Rider RTH
166User Manual 1326.1578.02 ─ 08
@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:
Format Suffix Example
Decimal <empty>
d
106, DeviceName
106d, DeviceName
Hexadecimal h
6Ah, DeviceName
or prefix: 0x6A, DeviceName
Octal o
152o, DeviceName
Binary b
01101010b, DeviceName
The maximum supported word size for (unsigned) integers is 64 bits.
# --- Start of PTT file
@FILE_VERSION = 1.0
@PROTOCOL_NAME = i2c
# Following two lines are equal:
7,01h,Temperature
7,01h, Temperature
# A comma must be enclosed in double quotes:
7,01h,"Temperature, Pressure, and Volume"
# A double quote must also be enclosed in double quotes:
7,7Fh,"Highspeed ""Master"" 01"
# Following lines yield the same result:
7d,0x11,Pressure
7h,11h,Pressure
0x7,17d,Pressure
7,17,Pressure
Basics of Protocol Analysis