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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Remote Control Commands<br />

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

+1.0 -> 32767 -> = 0x7FFF<br />

0.0 -> 0 -> = 0x0000<br />

-1.0 -> -32767 -> = 0x8001<br />

The ​figure 7-4 shows the calculation and conversion steps. The highlighted columns<br />

contain the resulting I and Q values represented in Little endian format.<br />

Fig. 7-4: I and Q values calculation and conversion<br />

3. Use an ASCII editor which is able to handle binary data and create and add the<br />

mandatory tags, the ​TYPE, the ​CLOCK and ​LEVEL OFFS before this binary data set<br />

can be further processed.<br />

An example of the SICO.wv file contents could be:<br />

{TYPE: SMU-WV, 0}{CLOCK: 10e6}{LEVEL OFFS: 3.010300,0.000000}<br />

0000FF7F8E27BB79 ... 72D8BB79<br />

To simplify the example, the checksume is set to 0, i.e. the instrument does not evaluate<br />

a checksum.<br />

Tip: The tags TYPE, CLOCK, LEVEL OFFS and WAVEFORM are mandatory for each<br />

waveform. All other tags are optional and can be inserted after the TYPE tag in arbitrary<br />

order.<br />

4. Pack the binary data into a ​WAVEFORM tag with the described structure.<br />

{WAVEFORM-Length: #I0Q0I1Q1I2Q2 ... InQn}<br />

●<br />

●<br />

●<br />

calculate the Length<br />

Length = Number of I/Q pairs * 4 + 1 = 20*4 + 1 = 81 bytes<br />

place the string {WAVEFORM-81:# at the beginning of the data set<br />

place the symbol } at the end of the data set<br />

The contents of the waveform file SICO.wv for 20 I/Q pairs is now ready for operation<br />

and reads:<br />

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

182

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

Saved successfully!

Ooh no, something went wrong!