EasyManua.ls Logo

Rohde & Schwarz SMW200A - Page 978

Rohde & Schwarz SMW200A
1312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control Commands
R&S
®
SMW200A
963User Manual 1175.6632.02 ─ 16
{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 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).
SOURce Subsystem

Table of Contents

Related product manuals