14.06.2014 Views

R&S WinIQSIM2 Software Manual - Rohde & Schwarz

R&S WinIQSIM2 Software Manual - Rohde & Schwarz

R&S WinIQSIM2 Software Manual - Rohde & Schwarz

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

R&S ® <strong>WinIQSIM2</strong><br />

Remote Control Commands<br />

R&S Signal Generator Waveform and List Format<br />

xxxxxxxx<br />

Example:<br />

Is an ASCII-coded checksum of the data part of the WAVEFORM tag<br />

in the file. This value is always 0 for data lists and control lists.<br />

The checksum for waveforms is used for detecting transmission<br />

errors. If the TYPE tag contains 0 or a non-numeric value for the<br />

checksum, it is ignored.<br />

It is calculated in accordance with the algorithm given bellow,<br />

where 'start' is a pointer to the first byte after the '#' character in<br />

the WAVEFORM tag and 'length' is the number of bytes between<br />

'start' and the closing curly bracket (excluding the latter; 'length'<br />

must be divisible by 4 without a remainder):<br />

UINT32 checksum(void *start, UINT32 length)<br />

{<br />

UINT32 i, result = 0xA50F74FF;<br />

for(i=0; i < length/4; i++)<br />

result = result ^ ((UINT32 *)start)[i];<br />

return(result);<br />

}<br />

{TYPE: SMU-WV,106656}<br />

BB:ARB:WAV:TAG? 'TYPE'<br />

queries the content of the TYPE tag.<br />

Response: 'SMU-WV,106656'<br />

this is a valid waveform.<br />

{CLOCK: frequency}<br />

(mandatory for waveforms)<br />

The tag specifies the clock frequency at which the waveform has to be output, in Hz (on<br />

multi segment waveforms this tag contains the maximal clock of all segments).<br />

A query of ARB:CLOCk? after loading the waveform returns the value set using the<br />

CLOCK tag. This value can subsequently be altered with the aid of the ARB:CLOCk?<br />

command.<br />

Example: {CLOCK: 54000000}<br />

BB:ARB:WAV:TAG? 'CLOCK'<br />

queries the content of the CLOCK tag.<br />

Response: 54000000<br />

the clock frequency is set to 54 MHz.<br />

Usage:<br />

Setting only<br />

{COMMENT: string}<br />

The tag contains a plain text ASCII string of arbitrary length. The string is not analyzed<br />

in the R&S <strong>WinIQSIM2</strong>. It is used to describe the file. The string is allowed to contain all<br />

printable ASCII characters except the closing curly bracket.<br />

<strong>Software</strong> <strong>Manual</strong> 1008.0858.42 ─ 10<br />

170

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!