R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Programming Examples
Condensed Programming Examples
Operating Manual 1145.1084.12 – 30 1109
:CALCULATE1:STATISTICS:RESULT? MEAN
:CALCULATE1:STATISTICS:RESULT? MAX
Bandfilter Search
The following example shows how to use markers for a bandpass or bandstop search.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
:SENSe1:FREQuency:STARt 1 GHZ
:SENSe1:FREQuency:STOP 6 GHZ
// Bandpass search ref. to max.
:CALCulate1:MARKer:FUNCtion:BWIDth:MODE BPASs
:CALCulate1:MARKer:FUNCtion:BWIDth:MODE? %BPAS
// Measure single sweep, wait until complete sweep is finished
:INITiate:CONTinuous OFF
:INITiate; *WAI;
:CALCulate1:MARKer:FUNCtion:EXECute BFILter
// All markers OFF
:CALCulate1:MARKer:AOFF
// Bandpass search ref. to marker
:CALCulate1:MARKer1:STATe ON
:CALCulate1:MARKer1:X 3.0 GHz
:CALCulate1:MARKer:FUNCtion:BWIDth:MODE BPRMarker
:CALCulate1:MARKer:FUNCtion:BWIDth:MODE? %BPRM
:INITiate; *WAI;
:CALCulate1:MARKer:FUNCtion:EXECute BFILter
:CALCulate1:MARKer:AOFF
// Bandstop search ref. to max.
:CALCulate1:MARKer:FUNCtion:BWIDth:MODE BSTop
:CALCulate1:MARKer:FUNCtion:BWIDth:MODE? %BST
:INITiate; *WAI;
:CALCulate1:MARKer:FUNCtion:EXECute BFILter
:CALCulate1:MARKer:AOFF