59
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
380
Suppose that the active setup contains an active trace no. 1.
CALC:MARK ON
Create marker 1 and assign it to trace no. 1.
CALC:MARK:FUNC:EXEC MAX; RES?
Move the created marker to the absolute maximum of the trace and query the
stimulus and response value of the search result.
The analyzer provides the following search modes:
Mode
Find...
MAXimum
Absolute maximum in the search range (see CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER
<numeric_value>)
MINimum Absolute maximum in the search range
RPEak Next valid peak to the right of the current marker position
LPEak
Next valid peak to the left
NPEak
Next highest or lowest value among the valid peaks (next peak)
TARGet
Target value (see CALCulate<Chn>:MARKer<Mk>:TARget)
RTARget Next target value to the right of the current marker position
LTARget
Next target value to the left
BFILter
Bandfilter search. The results are queried using CALCulate<Chn>:MARKer<Mk>:BWIDth.
CALCulate<Chn>:MARKer<Mk>:FUNCtion:RESult?
Returns the result (stimulus and response value) of a search started by means of
CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute. The search must be executed before the
command is enabled.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10. This numeric suffix is ignored and may be set
to any value.
Response
Search result in the format <Stimulus value>, <Response_value>.
Range [def.
unit]
Depending on the measurement parameter. [unit depending on the sweep type and
the marker format; see CALCulate<Chn>:MARKer<Mk>:FORMat]
*RST value
–
SCPI,
Command
Types
Device-specific, query only.
Example:
See CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute.
CALCulate<Chn>:MARKer<Mk>:FUNCtion[:SELect] MAXimum | MINimum | RPEak
|LPEak | NPEak | TARGet | LTARget | RTARget | BFILter
Selects a search mode for marker no. <Mk>, which can then be initiated using one of the
CALCulate<Chn>:MARKer<Mk>:SEARch..., CALCulate<Chn>:MARKer<Mk>:MAXimum or
CALCulate<Chn>:MARKer<Mk>:MINimum functions. The marker must be created before using
CALCulate<Chn>:MARKer<Mk>[:STATe] ON.
65
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
381
Note: This command is not needed expect for compatibility with ZVR programs. Use
CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute to select a search mode and at the same
time initiate the search. The CALCulate<Chn>:MARKer<Mk>:SEARch...,
CALCulate<Chn>:MARKer<Mk>:MAXimum or CALCulate<Chn>:MARKer<Mk>:MINimum
functions also select the search mode.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10. For a bandfilter search (BFILter) this
numeric suffix is ignored and may be set to any value because the bandfilter
search functions always use markers Mkr1 to Mkr4.
Parameters
See list of parameters below.
*RST value
–
SCPI,
Command
Types
Device-specific, command or query.
The analyzer provides the following search modes:
Mode
Selected search mode
MAXimum
Absolute maximum in the search range (see CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER
<numeric_value>)
MINimum
Absolute maximum in the search range
RPEak
Next valid peak to the right of the current marker position
LPEak Next valid peak to the left
NPEak
Next highest value among the valid peaks
TARGet
Target value (see CALCulate<Chn>:MARKer<Mk>:TARget)
RTARget
Next target value to the right of the current marker position
LTARget
Next target value to the left
BFILter
Bandfilter search. Bandfilter search. The results are queried using CALCulate<Chn>:MARKer<Mk>:BWIDth.
CALCulate<Chn>:MARKer<Mk>:FUNCtion:STARt
Sets the beginning (start) of the sweep range equal to the stimulus value of the marker <Mk> on trace no.
<Chn>.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10.
Range [def. unit]
–[–]
*RST value
–
SCPI, Command
Types
Device-specific, no query.
Example:
*RST; CALC:MARK ON
Create marker 1 in the center of the current sweep range and assign it to
trace no. 1.
CALC:MARK:FUNC:STAR
Divide the sweep range in half, starting at the current marker position.
59
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
382
CALCulate<Chn>:MARKer<Mk>:FUNCtion:STOP
Sets the end (stop) of the sweep range equal to the stimulus value of the marker <Mk> on trace no.
<Chn>.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10.
Range [def. unit]
–[–]
*RST value
–
SCPI, Command
Types
Device-specific, no query.
Example:
*RST; CALC:MARK ON
Create marker 1 in the center of the current sweep range and assign it to
trace no. 1.
CALC:MARK:FUNC:STOP
Divide the sweep range in half, ending at the current marker position.
CALCulate<Chn>:MARKer<Mk>:FUNCtion:TARget <numeric_value>
Defines the target value for the target search of marker no. <Mk>, which can be activated using
CALCulate<Chn>:MARKer<Mk>:FUCTion:EXECute TARGet.
Note: This command is the ZVR-compatible equivalent of CALCulate<Chn>:MARKer<Mk>:TARget.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10.
<numeric_value>
Target search value of marker no. <Mk>.
Range [def. unit]
Depending on the format of the active trace (CALCulate<Chn>:FORMat). For
adB Mag trace the range is –300 dB to +200 dB, the increment (UP. DOWN)
is 0.1 dB. [dB, deg etc., depending on the trace format]
*RST value
Depending on the trace format; 0 dB for a dB Mag trace.
SCPI, Command
Types
Device-specific, command or query.
CALCulate<Chn>:MARKer<Mk>:MAXimum
Selects a search mode for marker no. <Mk> and initiates a maximum search. The marker must be created
before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON.
Note: This command is the ZVR-compatible equivalent of
CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute MAXimum.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10.
Range [def. unit]
– [–]
*RST value
–
SCPI, Command Types
Device-specific, no query.
55
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
383
CALCulate<Chn>:MARKer<Mk>:MINimum
Selects a search mode for marker no. <Mk> and initiates a minimum search. The marker must be created
before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON.
Note: This command is the ZVR-compatible equivalent of
CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute MAXimum.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10.
Range [def. unit]
– [–]
*RST value
–
SCPI, Command Types
Device-specific, no query.
CALCulate<Chn>:MARKer<Mk>:MODE CONTinuous | DISCrete
Sets marker no. <Mk> to continuous or discrete mode. The marker doesn't have to be created before
(CALCulate<Chn>:MARKer<Mk>[:STATe] ON), the mode can be assigned in advance.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10.
Parameters
CONTinuous – marker can be positioned on any point of the trace, and its
response values are obtained by interpolation.
DISCrete – marker can be set to discrete sweep points only.
*RST value
CONT
SCPI, Command
Types
Device-specific, command or query.
Example:
Suppose that the active setup contains an active trace no. 1.
CALC:MARK:MODE DISC; MARK2 CONT
Create marker 1 in discrete mode and marker 2 in continuous mode.
CALC:MARK ON; MARK2 ON
Display the two markers. Due to the different modes the horizontal position can
be different.
CALCulate<Chn>:MARKer<Mk>:REFerence:MODE CONTinuous | DISCrete
Sets the reference marker to continuous or discrete mode. The marker doesn't have to be created before
(CALCulate<Chn>:MARKer<Mk>:REFerence[:STATe] ON), the mode can be assigned in advance.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10. This numeric suffix is ignored and may be
set to any value.
Parameters
CONTinuous – marker can be positioned on any point of the trace, and its
response values are obtained by interpolation.
DISCrete – marker can be set to discrete sweep points only.
56
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
384
*RST value
CONT
SCPI, Command
Types
Device-specific, command or query.
Example:
Suppose that the active setup contains an active trace no. 1.
CALC:MARK:REF:MODE DISC; :CALC:MARK2:REF:MODE CONT
Create the reference marker in discrete mode and marker 2 in continuous
mode.
CALC:MARK:REF ON; :CALC:MARK2 ON
Display the two markers. Due to the different modes the horizontal position can
be different.
CALCulate<Chn>:MARKer<Mk>:REFerence[:STATe] <Boolean>
Creates the reference marker and assigns it to trace no. <Chn>.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10. This numeric suffix is ignored and may be
set to any value.
<Boolean>
ON | OFF - Creates or removes the marker.
*RST value
OFF
SCPI, Command
Types
Device-specific, command or query.
Example:
Suppose that the active setup contains an active trace no. 1.
CALC:MARK:REF ON; CALC:MARK ON
Create the reference marker and marker 1 and assign them to trace no. 1. The
default position of both markers is the center of the sweep range.
CALCulate<Chn>:MARKer<Mk>:REFerence:TYPE NORMal | FIXed
Sets the reference to normal or fixed mode. The marker must be created before using
CALCulate<Chn>:MARKer<Mk>:REFerence[:STATe] ON.
<Chn>
Channel number used to identify the active trace.
<Mk>
Marker number in the range 1 to 10. This numeric suffix is ignored and may
be set to any value.
Parameters
NORMal – response value changes according to the measurement result.
FIXed – marker keeps its current response value.
*RST value
NORMal
SCPI, Command
Types
Device-specific, command or query.
Example:
CALC:MARK:REF ON; CALC:MARK:REF:TYPE FIX
Create the reference markerand display it in the center of the sweep range
Documents you may be interested
Documents you may be interested