![Rohde & Schwarz R&S FSV Quick Start Manual Download Page 182](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsv/rands-fsv_quick-start-manual_1477866182.webp)
Brief Introduction to Remote Control
R&S
®
FSVA/FSV
159
Quick Start Guide 1321.3066.02 ─ 05
CALL InstrWrite(analyzer,"CALC:MARK:PEXC 6DB")
'Define peak excursion
CALL InstrWrite(analyzer,"CALC:MARK:STAT ON")
'Activate marker 1
CALL InstrWrite(analyzer,"CALC:MARK:TRAC 1")
'Set marker 1 to trace 1
CALL InstrWrite(analyzer,"CALC:MARK:MAX")
'Set marker 1 to 100 MHz
CALL InstrWrite(analyzer,"CALC:DELT:FUNC:PNO ON")
'Define reference point for phase noise
'--------- Measuring the phase noise --------------------------------------
CALL InstrWrite(analyzer,"CALC:DELT:X 10kHz")
'Position delta marker
CALL InstrWrite(analyzer,"CALC:DELT:FUNC:PNO:RES?")
'Query and output phase noise result
result$ = Space$(100)
CALL InstrRead(analyzer, result$, 100, retCount)
Debug.Print "Phase Noise [dBc/Hz]: "; result$
'--------- Measuring the noise --------------------------------------------
CALL InstrWrite(analyzer,"CALC:MARK:X 99.96MHz")
'Position marker 1
CALL InstrWrite(analyzer,"CALC:MARK:FUNC:NOIS:RES?")
'Query and output result
result$ = Space$(100)
CALL InstrRead(analyzer, result$, 100, retCount)
Print "Noise [dBm/Hz]: "; result$
END SUB
REM ************************************************************************
7.2.3
Reading Out Trace Data
In the following example, the trace data obtained with the default setting is read
from the instrument and displayed in a list on the screen. Readout occurs first in
binary format and then in ASCII format, once with the span > 0 and once with the
span = 0.
In binary format, the header of the message with the length specification is evalu-
ated and used to calculate the x-axis values.
In ASCII format, merely the list of level values is output.
Binary data is read out in three steps:
1. The number of digits in the length specification is read out.
Detailed Programming Examples
Summary of Contents for R&S FSV
Page 25: ......