18.12.2012 Views

R&S FSQ Signal Analyzer - Rohde & Schwarz

R&S FSQ Signal Analyzer - Rohde & Schwarz

R&S FSQ Signal Analyzer - 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>FSQ</strong> Remote Control – Programming Examples<br />

7.3 More Complex Programming Examples<br />

More Complex Programming Examples<br />

In this section, the more advanced programming examples are included:<br />

• “Using Marker and Delta Marker” on page 7.7<br />

• “Limit Lines and Limit Test” on page 7.12<br />

• “Measuring the Channel and Adjacent Channel Power” on page 7.14<br />

• “Occupied Bandwidth Measurement” on page 7.16<br />

• “Time Domain Power Measurement” on page 7.17<br />

• “Fast Power Measurement on Power Ramps” on page 7.18<br />

• “Fast Level Measurement Using Frequency Lists” on page 7.22<br />

• “Level Correction of Transducers (Definition of Transducer Factors)” on page 7.23<br />

• “Measuring the Magnitude and Phase of a <strong>Signal</strong> (I/Q Data Acquisition)” on<br />

page 7.24<br />

• “Reading and Writing Files” on page 7.27<br />

For basic programming examples, refer to section “Basic Programming Steps for the<br />

VISA Interface” on page 7.2 and the Quick Start Guide, chapter 6.<br />

7.3.1 Using Marker and Delta Marker<br />

7.3.1.1 Measuring Spurious Emissions<br />

In transmission measurements, it is often necessary to search a large frequency<br />

range for unwanted spurious emissions.<br />

This can be done by means of the R&S <strong>FSQ</strong>'s LIST PEAKS function, which finds up<br />

to 50 peaks in a preselected frequency range and outputs them as a list. The search<br />

range can be defined both in terms of frequency and level, and the number of peaks<br />

to be found is selectable as well.<br />

In the following example, the 10 highest peaks are to be found in a preselected frequency<br />

range. Only signals >-60 dBm in a range ± 400 kHz about the center frequency<br />

are of interest, so the search range is limited accordingly. The signals found<br />

are output in the order of ascending frequency.<br />

REM ************************************************************************<br />

Public Sub SpuriousSearch()<br />

powerlist$ = Space$(1000)<br />

freqlist$ = Space$(1000)<br />

countstr$ = Space$(30)<br />

'--------- R&S <strong>FSQ</strong> default setting --------------------------<br />

CALL SetupInstrument<br />

'Default setting<br />

status = viWrite(analyzer, "INIT:CONT OFF", 13, retCnt)<br />

'Single sweep<br />

'--------- Definition of search range ----------------------status<br />

= viWrite(analyzer, "CALC:MARK:X:SLIM:STAT ON", 24, retCnt)<br />

status = viWrite(analyzer, "CALC:MARK:X:SLIM:LEFT 99.6MHz;RIGHt 100.4MHz", 44,<br />

retCnt)<br />

Operating Manual 1313.9681.12 - 01 7.7

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

Saved successfully!

Ooh no, something went wrong!