Remote Control Commands
R&S
®
SMBV100A
441
Operating Manual 1407.6062.32 ─ 08
Setting parameters:
magic
Designates the file type and has the following values:
SMU-WV
The file contains a valid R&S SMBV waveform.
SMU-MWV
The file contains a valid R&S SMBV multi segment waveform.
SMU-DL
The file contains a valid R&S SMBV data list.
SMU-CL
The file contains a valid R&S SMBV 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 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);
}
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.
{CLOCK: frequency}
(mandatory for waveforms)
The tag specifies the clock frequency at which the waveform has to be output, in Hz (on
multi segment waveforms this tag contains the maximal clock of all segments).
A query of
ARB:CLOCk?
after loading the waveform returns the value set using the
CLOCK
tag. This value can subsequently be altered with the aid of the
ARB:CLOCk?
command.
Example:
{CLOCK: 54000000}
BB:ARB:WAV:TAG? 'CLOCK'
queries the content of the
CLOCK
tag.
Response: 54000000
the clock frequency is set to 54 MHz.
R&S Signal Generator Waveform and List Format
Summary of Contents for SMBV100A
Page 31: ......