R&S SGT100A User Manual page 534

Sgma vector rf source
Table of Contents

Advertisement

®
R&S
SGT100A
{MWV_SEGMENT_START:
{MWV_SEGMENT_CLOCK_MODE: Mode}
{MWV_SEGMENT_CLOCK: ClockSeg0, ClockSeg1, ..., ClockSegN-1}
{MWV_SEGMENT_LEVEL_OFFS:
{MWV_SEGMENT_FILES:
{MWV_SEGMENTx_COMMENT: text}
{CONTROL LIST WIDTH4–Length: #m0m1...mx...mM-1}
{TYPE: magic, xxxxxxxx}
(mandatory, must be the first tag in the file)
Identifies the file as a valid R&S SGT file. It must be present and must be the first in
the waveform. If a file of the same name already exists on the target medium, it is over-
written.
Setting parameters:
magic
xxxxxxxx
Example:
User Manual 1176.8674.02 ─ 07
SampleStartOffsetSeg0, SampleStartOffsetSeg1, ..., SampleStartOffsetSegN-1}
RMSOffs_dBSg0,PeakOffs_dBSg0, ..., RMSOffs_dBSgN-1, PeakOffs_dBSgN-1}
"FileNameSeg0.wv", "FileNameSeg1.wv", ..., "FileNameSegN-1.wv"}
Designates the file type and has the following values:
SMU-WV
A valid R&S SGT waveform.
SMU-MWV
A valid R&S SGT multi segment waveform.
Is an ASCII-coded checksum of the data part of the WAVEFORM
tag in the file.
The checksum for waveforms is used for detecting transmission
errors. If the TYPE tag contains 0 or a non-numeric value for the
checksum, it is ignored.
It is calculated in accordance with the algorithm given bellow,
where 'start' is a pointer to the first byte after the '#' character in
the WAVEFORM tag and 'length' is the number of bytes between
'start' and the closing curly bracket (excluding the latter; 'length'
must be divisible by 4 without a remainder):
UINT32 checksum(void *start, UINT32 length)
{
UINT32 i, result = 0xA50F74FF;
for(i=0; i < length/4; i++)
result = result ^ ((UINT32 *)start)[i];
return(result);
}
{TYPE: SMU-WV,106656}
BB:ARB:WAV:TAG? 'TYPE'
Queries the content of the TYPE tag.
Response: 'SMU-WV,106656'
This is a valid waveform.
...................................................................... 510
............................................................................. 512
..................................................512
Waveform and List Format
Tag Description
.......510
...............................511
......512
........................512
503

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents