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

Create successful ePaper yourself

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

R&S <strong>FSQ</strong> Remote Control – Programming Examples<br />

More Complex Programming Examples<br />

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

Public Sub FrequencyList()<br />

result$ = Space$(500)<br />

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

CALL SetupStatusReg<br />

'Configure status register<br />

status = viWrite(analyzer, "*RST", 4, retCnt)<br />

'Reset instrument<br />

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

'Single sweep mode<br />

status = viWrite(analyzer, "SYST:DISP:UPD OFF", 17, retCnt)<br />

'Display off<br />

'-- Configure R&S <strong>FSQ</strong> for power measurement based on frequency<br />

list --status<br />

= viWrite(analyzer, "TRIG:LEV:VID 45PCT", 18, retCnt)<br />

'Video trigger threshold<br />

status = viWrite(analyzer, "LIST:POWer:SET ON,ON,OFF,VID,POS,100us,0", 40,<br />

retCnt)<br />

'-------- Perform measurement and query results -----------cmd$<br />

= "LIST:POWer? "<br />

cmd$ = cmd$ + "935.2MHZ,10dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0,"<br />

cmd$ = cmd$ + "1805.2MHZ,10dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0,"<br />

cmd$ = cmd$ + "1870.4MHZ,10dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0,"<br />

cmd$ = cmd$ + "2805.6MHZ,0dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0,"<br />

cmd$ = cmd$ + "3610.4MHz,10dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0,"<br />

cmd$ = cmd$ + "3740.8MHz,0dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0,"<br />

cmd$ = cmd$ + "5815.6MHz,0dBm,20dB,OFF,NORM,1MHz,3MHz,300us,0"<br />

status = viWrite(analyzer, cmd$, 343, retCnt)<br />

status = viRead(analyzer, result$, 100, retCnt)<br />

Print result$<br />

END SUB<br />

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

7.3.8 Level Correction of Transducers (Definition of Transducer Factors)<br />

In more complex test systems, the frequency response of the test setup must be<br />

taken into account in all power measurements to avoid any measurement errors<br />

being introduced from sources other than the DUT.<br />

The R&S <strong>FSQ</strong> offers the possibility of defining a frequency-dependent attenuation<br />

correction factor (transducer factor).<br />

In the example below, a factor with the following characteristics is defined:<br />

Name: Transtest<br />

Unit: dB<br />

Scaling: lin<br />

Comment: simulated cable correction<br />

Operating Manual 1313.9681.12 - 01 7.23

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

Saved successfully!

Ooh no, something went wrong!