Waveform and List Format
R&S
®
SGT100A
502
User Manual 1176.8674.02 ─ 07
12 Waveform and List Format
The R&S
SGT uses a tag-oriented format for externally or internally generated wave-
forms.
A waveform version number is not necessary due to the flexible, tag-based form.
Tags are self-contained information units. Their general format is
{Name: Data}
or
{Name-Length: Data}
. The colon separates the name part and the data part. The
colon can be followed by a space for the sake of legibility.
The
Name
identifies the tag. It is always expressed in capital letters.
The
Data
is tag-specific, and in most cases it is in ASCII plain text.
The
Length
specifies the number of bytes in a
WAVEFORM
tag, a
DATA LIST
tag or a
EMPTYTAG
(from
:
to
}
, ASCII integer).
Each waveform file must begin with the
TYPE
tag. The sequence of the remaining tags
is arbitrary. For each tag, an indication shows whether it must be included in the file
concerned (mandatory) or may be included (optional).
Unknown tags are not analyzed by the R&S
SGT. On the other hand they are left
unchanged, are saved without an error message and can be read back again.
R&S AMIQ waveforms can also be loaded on the instrument, where they are converted
internally into an R&S
SGT waveform.
12.1 Tag Description
This section first describes the mandatory
TYPE
tag which identifies the file and is
always located at the start of the file. The rest of the tags used in the R&S
SGT are
then described in alphabetical order. Most tags are valid for all three file types. If a tag
is valid only for a single file type, e.g. only for a waveform, this fact is indicated in the
description.
................................................................................................ 503
....................................................................................... 505
{EMPTYTAG-Length: #EmptySequence}
..........................................................................505
{LEVEL OFFS: RMSOffset_dB,PeakOffset_dB}
................................................................ 506
{[TRACE] LIST [#]: Pos0:Val0;Pos1:Val1;...Posx:Valx;...PosN-1:ValN-1}
..............................507
{WAVEFORM-Length: #I0Q0I1Q1...IxQx...IN-1QN-1…}
..................................................... 508
......................................................................... 509
{MWV_SEGMENT_LENGTH: SamplesSeg0, SamplesSeg1, …, SamplesSegN-1}
Tag Description