EasyManua.ls Logo

Rohde & Schwarz RTP Series - Page 516

Rohde & Schwarz RTP Series
2403 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Protocol analysis
R&S
®
RTP
516User Manual 1337.9952.02 ─ 12
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:
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
Basics of protocol analysis

Table of Contents

Other manuals for Rohde & Schwarz RTP Series

Related product manuals