14.06.2014 Views

Operating Manual EMI TEST RECEIVER ESIB7 - Rohde & Schwarz

Operating Manual EMI TEST RECEIVER ESIB7 - Rohde & Schwarz

Operating Manual EMI TEST RECEIVER ESIB7 - 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.

Programming Examples<br />

ESIB<br />

Transmission of Instrument Setting Commands<br />

Center frequency, span, and reference level of the instrument are set in this example.<br />

REM -------- Instrument setting commands -------------<br />

CALL IBWRT(receiver%, ’INSTRUMENT SANALYZER’) ’Analyzer mode<br />

CALL IBWRT(receiver%, "FREQUENCY:CENTER 120MHz") ’Center frequency 120 MHz<br />

CALL IBWRT(receiver%, "FREQUENCY:SPAN 10MHZ") ’Span 10 MHz<br />

CALL IBWRT(receiver%, "DISPLAY:TRACE:Y:RLEVEL -10dBm")<br />

’Reference level -10dBm<br />

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

Switchover to <strong>Manual</strong> Control<br />

REM -------- Switch instrument over to manual control -----------<br />

CALL IBLOC(receiver%) ’Set instrument to Local state<br />

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

Reading out Instrument Settings<br />

The settings made in example 3 are read out here. The abbreviated commands are used.<br />

REM --------- Reading out instrument settings ---------<br />

CFfrequency$ = SPACE$(20)<br />

’Provide text variables (20 characters)<br />

CALL IBWRT(receiver%, "FREQ:CENT?") ’Request center frequency<br />

CALL IBRD(receiver%, CFfrequency$) ’Read value<br />

CFspan$ = SPACE$(20)<br />

’Provide text variables (20 characters)<br />

CALL IBWRT(receiver%, "FREQ:SPAN?") ’Request span<br />

CALL IBRD(receiver%, CFspan$) ’Read value<br />

RLevel$ = SPACE$(20)<br />

’Provide text variables (20 characters)<br />

CALL IBWRT(receiver%, "DISP:TRAC:Y:RLEV?")<br />

’Request reference level<br />

CALL IBRD(receiver%, RLevel$) ’Read value<br />

REM -------- Display values on the screen -----------<br />

PRINT "Center frequency: "; CFfrequency$,<br />

PRINT "Span:<br />

"; CFspan$,<br />

PRINT "Reference level: "; RLevel$,<br />

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

Positioning a Marker and Displaying Values<br />

REM -------- Examples of marker functions -----------<br />

CALL IBWRT(receiver%, "CALC:MARKER ON;MARKER:MAX")<br />

’Activate marker1 and start peak search<br />

MKmark$ = SPACE$(30)<br />

’Provide text variables (30 characters)<br />

CALL IBWRT(receiver%, "CALC:MARK:X?;Y?") ’Request frequency and level<br />

CALL IBRD(receiver%, MKmark$)<br />

’Read value<br />

REM -------- Display values on the screen -----------<br />

PRINT "Center frequency / level "; MKmark$,<br />

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

1088.7531.12 7.2 E-16

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

Saved successfully!

Ooh no, something went wrong!