![R&S RTO6 Скачать руководство пользователя страница 490](http://html2.mh-extra.com/html/rands/rto6/rto6_user-manual_3064646490.webp)
Protocol analysis
R&S
®
RTO6
490
User Manual 1801.6687.02 ─ 05
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
@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"
Basics of protocol analysis