Programming examples
R&S
®
ZNA
1610
User Manual 1178.6462.02 ─ 20
:CALCULATE1:MARKER2 ON
:CALCULATE1:MARKER2:X 2GHZ
:CALCULATE1:MARKER3 ON
:CALCULATE1:MARKER3:X 3GHZ
:CALCULATE1:MARKER4:DELTA:STATE ON
:CALCULATE1:MARKER:REFERENCE ON
:CALCULATE1:MARKER:REFERENCE:X 5GHZ
:CALCULATE1:MARKER1:TYPE FIXED
// Query marker response values
:CALCULATE1:FORMAT MLINEAR
:CALCULATE1:MARKER1 ON
:CALCULATE1:MARKER1:X DEF
:CALCULATE1:MARKER1:FORMAT MLINEAR
// DataBase EMarkerFormat::LIN_MAG
:CALCULATE1:MARKER1:Y?
:CALCULATE1:MARKER1:FORMAT MLOGARITHMIC
// ..... DB_MAG
:CALCULATE1:MARKER1:Y?
8.2.3.1
Marker search functions
The following example shows how to search for particular measurement points using
markers.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// 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
Condensed programming examples