Configuring the Internal Baseband Source
R&S
®
SMW200A
329User Manual 1175.6632.02 ─ 30
5.7.5.1 Common Tags
The following tags are common to all file types. For description of the dedicated tags,
see
{TYPE: magic, xxxxxxxx}
(mandatory, must be the first tag in the file)
Identifies the file as a valid R&S SMW file. It must be present and must be the first in
the waveform. If a file of the same name exists on the target medium, it is overwritten.
Setting parameters:
magic Designates the file type and has the following values:
SMU-WV
A valid R&S SMW waveform.
SMU-MWV
A valid R&S SMW multi-segment waveform.
SMU-DL
A valid R&S SMW data list.
SMU-CL
A valid R&S SMW control list.
xxxxxxxx Is an ASCII-coded checksum of the data part of the WAVEFORM
tag in the file. This value is always 0 for data lists and control
lists.
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
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);
}
The checksum is currently not verified when waveforms are loa-
ded.
Example:
{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.
Using the Arbitrary Waveform Generator (ARB)