Programming examples
R&S
®
ZNA
1606
User Manual 1178.6462.02 ─ 20
// Modify evaluation range (is automatically confined to sweep range)
:CALCulate1:STATistics:DOMain:USER 1
:CALCulate1:STATistics:DOMain:USER:STARt 0 HZ
:CALCulate1:STATistics:DOMain:USER:STOP 100 GHZ
:CALCULATE1:STATISTICS:RESULT? MEAN
:CALCULATE1:STATISTICS:RESULT? MAX
8.2.2.5
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
Condensed programming examples