Command reference
R&S
®
ZNL/ZNLE
1070
User Manual 1178.5966.02 ─ 19
// Define marker and stimulus range
:CALCULATE1:MARKER1 ON
:SENSE1:FREQUENCY:START 1GHZ
:SENSE1:FREQUENCY:STOP 2GHZ
// Do the marker search in the format DB Magnitude
:CALCULATE1:FORMAT MLOGARITHMIC
// Define marker search ranges (stimulus range of the marker search)
// Range 0 is always the stimulus range of the trace (can't be changed)
:CALCULATE1:MARKER1:FUNCTION:DOMAIN:USER 0
:CALCulate1:MARKer1:FUNCtion:DOMain:USER:START?
:CALCulate1:MARKer1:FUNCtion:DOMain:USER:STOP?
// Range 1 (within the stimulus range)
:CALCULATE1:MARKER1:FUNCTION:DOMAIN:USER 1
:CALCulate1:MARKer1:FUNCtion:DOMain:USER:START 1.2GHZ
:CALCulate1:MARKer1:FUNCtion:DOMain:USER:STOP 1.8GHZ
// Range 2 (includes the stimulus range)
:CALCULATE1:MARKER1:FUNCTION:DOMAIN:USER 2
:CALCulate1:MARKer1:FUNCtion:DOMain:USER:START 0.8GHZ
:CALCulate1:MARKer1:FUNCtion:DOMain:USER:STOP 2.2GHZ
// Use range 0 (stimulus range of the trace)
:CALCULATE1:MARKER1:FUNCTION:DOMAIN:USER 0
// Select linear magnitude scale for diagram
:CALCULATE1:FORMAT MLINEAR
// Search for global minimum and maximum (MIN, MAX)
// (initial marker value may be inside or outside the marker search range)
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:MIN
:CALCULATE1:MARKER1:X?
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:MAX
:CALCULATE1:MARKER1:X?
// Minimum peak search functions
:CALCULATE1:MARKER1:FUNCTION:SELECT MINIMUM
:CALCULATE1:MARKER1:FUNCTION:SELECT?
// NEXT PEAK
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:SEARCH:NEXT
:CALCULATE1:MARKER1:X?
// PEAK RIGHT
:CALCULATE1:MARKER1:X 1.5GHZ
:CALCULATE1:MARKER:SEARCH:RIGHT
VNA programming examples