CALCulate<Chn>:MARKer<Mk>...    Related Topics

This subsystem controls the marker functions. The commands are device-specific and beyond what is specified in the SCPI subsystem SOURce:MARKer.

 

Command tree: CALCulate<Chn>:MARKer

:AOFF

:BWIDth?

:COUPled

[:STATe]

:DELTa

[:STATe]

:FORMat

:FUNCtion

:BWIDth

:GMCenter

:MODE

:CENTer

:DELTa

[:STATe]

:DOMain

:USER

:SHOW

:STARt

:STOP

:EXECute

:RESult?

:STARt

:STOP

[:SELect]

:TARGet

:MAXimum

:MINimum

:MODE

:NAME

:REFerence

:MODE

:NAME

[:STATe]

:TYPE

:X

:Y?

:SEARch

:BFILter

:RESult

[:STATe]

[:IMMediate]

:LEFT

:NEXT

:RIGHt

:TRACking

[:STATe]

:TARGet

:TYPE

:X

:Y?


CALCulate<Chn>:MARKer<Mk>:AOFF

Removes all markers from all traces of the active setup. The removed markers remember their properties (stimulus value, format, delta mode, number) when they are restored (CALC<Chn>:MARK<Mk> ON). The marker properties are definitely lost if the associated trace is deleted.

<Chn>

Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.  

 

<Mk>

Marker number in the range 1 to 10. This numeric suffix is ignored and may be set to any value.  

 

*RST value

 

SCPI, Command Types

Device-specific, no query.  

 

Example:

Suppose that the active setup contains an active trace no. 1.

CALC:MARK1 ON; MARK2 ON  

Create markers 1 and 2 and assign them to the trace no. 1.

CALC:MARK:AOFF  

Remove both markers.

 


CALCulate<Chn>:MARKer<Mk>:BWIDth <x_dB_Bandwidth>

Sets the bandfilter level for a bandfilter search or returns the results. The command is only available after a bandfilter search has been executed (CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute BFILter; see example below).

<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 because the bandfilter search functions always use markers M 1 to M 4.

 

<x_dB_Bandwidth>

x dB Bandwidth parameter. The x dB Bandwidth is the difference between the band edges and the center response value of a bandfilter peak; it must be negative for a bandpass search and positive for a bandstop search.

Range [def. unit]

For bandpass: –100.00 dB to –0.01 dB, the increment (UP/DOWN) is 0.3 dB. [dB]
For bandstop: +0.01 dB to +100.00 dB, the increment (UP/DOWN) is 0.3 dB. [dB]

*RST value

–3 dB

 

Response for query:

Search result in the format <Bandwidth>, <Center_Stimulus>, <Q>, <Loss>, <LBE>, <UBE> where:

<Bandwidth>

n-dB bandwidth of the bandpass/bandstop region, where n is the selected x dB Bandwidth (setting command CALCulate<Chn>:MARKer<Mk>:BWIDth <x dB Bandwidth>).

<Center_Stimulus>

Stimulus frequency at the center of the bandpass/bandstop region (the stimulus value of marker no. 4).

<Q>

Quality factor, i.e. the ratio between the center frequency and the 3-dB bandwidth

<Loss>

Loss at the center of the bandpass/bandstop region (the response value of marker no. 4 at the time of the bandfilter search).

<LBE>

Lower band edge

<UBE>

Upper band edge

Range [def. unit]

Depending on the measurement parameter. [units 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:

CALC:MARK:FUNC:BWID:MODE BST

Select a bandstop filter search.

CALC:MARK:FUNC:BWID:GMC OFF

Use the arithmetic mean value of lower and upper band edge to calculate the center of the bandstop region.

CALC:MARK:FUNC:EXEC BFIL

Initiate the bandpass filter search for the current trace. Create markers 1 to 4.

CALC:MARK:SEAR:BFIL:RES ON

Display the marker info field in the diaram area.

CALC:MARK:BWID 6

Select a 6-dB bandwidth for the bandstop.

CALC:MARK:BWID?

Query the results of the bandfilter search. An error message is generated if the bandfilter search fails so that no valid results are available.

 

 


CALCulate<Chn>:MARKer<Mk>:COUPled[:STATe] <Boolean>

Couples the markers of all traces in the active setup to the markers of trace no. <Chn>, provided that they have the same sweep type (SENSe<Chn>:FUNCtion).

<Chn>

Channel number used to identify the active trace. The effects of marker coupling depend on the active trace number; see Coupled Markers.

 

<Mk>

Marker number in the range 1 to 10. This suffix is ignored because the command affects all markers.  

 

<Boolean>

ON | OFF - Enables or disables marker coupling.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

 

Suppose that the active setup contains two traces Trc1 and Trc2, assigned to channels no. 1 and 2, respectively.

:CALC1:PAR:SEL 'TRC1'; :CALC1:MARK1 ON; MARK2 ON

Select Trc1 as the active trace and create the two markers no. 1 and 2. The default position for both markers is the center of the sweep range.

CALC1:MARK:COUP ON

Create two markers no. 1 and 2 on Trc 2 and couple them to the markers of Trc 1.

 


CALCulate<Chn>:MARKer<Mk>:DELTa[:STATe] <Boolean>

Switches the delta mode for marker <Mk> on trace no. <Chn> on or off. The marker must be created before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON. If the active trace contains no reference marker, the command also creates a reference marker.  

<Chn>

Channel number used to identify the active trace.  

 

<Mk>

Marker number in the range 1 to 10.  

 

<Boolean>

ON | OFF - Enables or disables the delta mode.

*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 ON

Create marker no. 1 and set it to the center of the sweep range.

CALC:MARK:DELT ON

Create a reference marker at the center of the sweep range and set marker 1 to delta mode.  

 


CALCulate<Chn>:MARKer<Mk>:FORMat
MLINear | MLOGarithmic | PHASe | POLar | COMPlex | GDELay | REAL | IMAGinary | SWR | LINPhase | LOGPhase | IMPedance | ADMittance | MDB | MLPHase | MDPHase | DEFault

Defines the output format for the (complex) value of marker <Mk> on trace no. <Chn>.

Note: The formats of the markers assigned to a trace are independent of each other and of the trace format settings; see CALCulate<Chn>:FORMat.

<Chn>

Channel number used to identify the active trace.

 

<Mk>

Marker number in the range 1 to 10.  

 

Parameters

See list of parameters below.

*RST value

DEFault

 

SCPI, Command Types

Device-specific, command or query

 

Example:

 

Suppose that the active setup contains an active trace no. 1.

CALC:MARK ON; :CALC:MARK:FORM?

Create marker 1, assign it to the trace no. 1 and query its format. The analyzer returns the format of the active trace.

 

 

Assume that the marker result is given by the complex quantity z = x + jy. The meaning of the parameters is as follows:

DEFault

The format of the trace no. <Chn> (MLOG after *RST); see CALCulate<Chn>:FORMat.

MLINear

|z| = sqrt ( x2 + y2 )  

MLOGarithmic
MDB

|z| = sqrt ( x2 + y2 )
dB Mag(z) = 20 * log|z| dB

PHASe

φ (z) = arctan ( Im(z) / Re(z) )

POLar
COMPlex

x, y (Real and Imag)

GDELay

Group Delay, – d f (z)/dΩ

REAL

x

IMAGinary

y

SWR

Standing Wave Ratio, SWR = (1 + |z|) / (1 – |z|)

LINPhase
MLPhase

Lin Mag and Phase, |z|, arctan ( Im(z) / Re(z) )

LOGPhase
MDPhase

dB Mag and Phase, 20 * log|z| dB, arctan ( Im(z) / Re(z) )

IMPedance

R, X, L or C (depending on sign(X))

ADMittance

G, B, L/C (depending on sign(X))


CALCulate<Chn>:MARKer<Mk>:FUNCtion:BWIDth <x dB Bandwidth>

Defines the bandfilter level, i.e. the minimum excursion for the bandpass and bandstop peaks.  

Use CALCulate<Chn>:MARKer<Mk>:BWIDth to set the x dB Bandwidth and query the results of a bandfilter search. Note the sign convention for input values.

<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 because the bandfilter search functions always use markers M 1 to M 4.

 

<x dB Bandwidth>

x dB Bandwidth parameter

Range [def. unit]

0.01 dB to 100.00 dB, the increment (UP. DOWN) is 0.3 dB. [dB]  

*RST value

3 dB.

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:MARKer<Mk>:BWIDth.

 

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:BWIDth:GMCenter <Boolean>

Specifies how the center frequency of a bandfilter search is calculated.

<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 because the bandfilter search functions always use markers M 1 to M 4.

 

<Boolean>

ON – use geometric mean of lower and upper band edge
OFF – use arithmetic mean value

*RST value

n/a (*RST does not affect the calculation rule; the factory setting is ON/geometric mean)

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:MARKer<Mk>:BWIDth.

 

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:BWIDth:MODE
BPASs | BSTop | BPRMarker | BSRMarker | BPABsolute | BSABsolute

Selects the bandfilter search mode.

<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 because the bandfilter search functions always use markers M 1 to M 4.

 

Parameters

Bandfilter search type:

BPASs: Bandpass Search Ref to Max
BSTop: Bandstop Search Ref to Max
BPRMarker: Bandpass Search Ref to Marker
BSRMarker: Bandstop Search Ref to Marker
BPABsolute: Bandpass Absolute Level
BSABsolute: Bandstop Absolute Level

*RST value

BPASs

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:MARKer<Mk>:BWIDth.

 

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:CENTer

Sets the center 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:CENT

Leave the sweep range unchanged.

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:DELTa:STATe <Boolean>

Switches the delta mode for marker <Mk> on trace no. <Chn> on or off.

Note: This command is the ZVR-compatible equivalent of CALCulate<Chn>:MARKer<Mk>:DELTa[:STATe].

<Chn>

Channel number used to identify the active trace  

 

<Mk>

Marker number in the range 1 to 10  

 

<Boolean>

ON | OFF - Enables or disables the delta mode

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER <range_no>

Assigns a search range no. <numeric_value> to marker no <Mk> and selects the search range, e.g. in order to display range limit lines or define the start and stop values.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10

 

<range_no>

Number of the search range

Range [def. unit]

0 – fixed full span search range (equal to the sweep range)
1 to 10 – user-definable search ranges; see example  

*RST value

0 (reserved for full span search range)

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

CALC1:MARK1:FUNC:DOM:USER 2

Select the search range no. 2, assigned to marker no. 1 and trace no. 1.

CALC:MARK:FUNC:DOM:USER:STARt 1GHz

Set the start frequency of the search range to 1 GHz.

CALC:MARK:FUNC:DOM:USER:STOP 1.2GHz

Set the stop frequency of the search range to 1.2 GHz.

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER:SHOW <Boolean>

Displays or hides range limit lines for the search range selected via CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER <numeric_value>.  

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10

<Boolean>

ON | OFF - Range limit lines on or off  

*RST value

OFF

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:STATistics:DOMain:USER

 

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER:STARt <start_value>

Defines the start value of the search range selected via CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER <numeric_value>.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10

 

<start_value>

Beginning of the search range.

Range [def. unit]

Maximum allowed sweep range, depending on the instrument model and on the sweep type. [Hz, dBm or s, depending on the sweep type]

*RST value

0 Hz

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER <numeric_value>

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER:STOP <stop_value>

Defines the stop value of the search range selected via CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER <numeric_value>.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10

 

<stop_value>

End of the search range.

Range [def. unit]

Maximum allowed sweep range, depending on the instrument model and on the sweep type. [Hz, dBm or s, depending on the sweep type]

*RST value

0 Hz

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:MARKer<Mk>:FUNCtion:DOMain:USER <numeric_value>

 


CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute
MAXimum | MINimum | RPEak | LPEak | NPEak | TARGet | LTARget | RTARget | BFILter | SPRogress

Selects a search mode for marker no. <Mk> and initiates the search. The marker must be created before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON (exception: bandfilter search).

<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 M 1 to M 4.

 

Parameters

See list of parameters below.

*RST value

 

SCPI, Command Types

Device-specific, no query.

 

Example:

 

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.

SPRogress

Sweep progress (marker tracking)


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  | SPRogress

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.

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 M 1 to M 4.

 

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.

SPRogress

Sweep progress (marker tracking)

 


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.

 


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 <search_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  

 

<search_value>

Target search value of marker no. <Mk>.

Range [def. unit]

Depending on the format of the active trace (CALCulate<Chn>:FORMat). For a dB 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

 


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 quer.

 

Example:

 

Suppose that the active setup contains an active trace no. 1.

CALC:MARK:MODE DISC; :CALC:MARK2:MODE 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>:NAME '<name>'

Defines a name for marker no. <Mk>. The marker doesn't have to be created before (CALCulate<Chn>:MARKer<Mk>[:STATe] ON), the name can be assigned in advance.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10

 

'<name>'

Marker name (string parameter)  

*RST value

'M 1' for marker no. 1 etc.

 

SCPI, Command Types

Device-specific, command or query

 

Example:

 

Suppose that the active setup contains an active trace no. 1.

CALC:MARK:NAME '&$% 1'; :CALC:MARK ON

Create marker 1 named &$% 1 and display the marker .

CALC:MARK:REF ON; :CALC:MARK:REF:NAME 'Reference'

Display the reference marker and rename it Reference.

 


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.  

*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:NAME '<name>'

Defines a name for the reference marker. The marker doesn't have to be created before (CALCulate<Chn>:MARKer<Mk>:REFerence[:STATe] ON), the name 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.

 

'<name>'

Marker name (string parameter)  

*RST value

'R'

 

SCPI, Command Types

Device-specific, command or query

 

Example:

 

See CALCulate<Chn>:MARKer<Mk>:NAME.

 


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 as a fixed marker.

CALC:MARK:REF:X 1GHz

Shift the marker horizontally. The response value remains fixed.

 


CALCulate<Chn>:MARKer<Mk>:REFerence:X <stimulus>

Defines the stimulus (in Cartesian diagrams: x-axis) value of the reference marker, which can (but doesn't have to) be displayed 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.

 

<stimulus>

Stimulus value of the reference marker

Range [def. unit]

–9.9E+11 Hz to +9.9E+11 Hz [Hz] (for frequency sweeps)
-999 dBm to +999 dBm [dBm] (for power sweeps)
0 s to 127500 s [s] (for time and CW mode sweeps)  

*RST value

0 Hz

 

SCPI, Command Types

Device-specific, command or query

 

Example:

 

Suppose that the active setup contains an active trace no. 1 and that the sweep range for a frequency sweep starts at 1 GHz.

CALC:MARK:REF ON

Create the reference marker and display it in the center of the sweep range.

CALC:MARK:REF:X 1GHz

Set the reference marker to the beginning of the sweep range.

 


CALCulate<Chn>:MARKer<Mk>:REFerence:Y?

Returns the response (in Cartesian diagrams: y-axis) value of the reference marker. The reference 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.

 

Response

Response value of the reference marker  

Range [def. unit]

Depending on the measured quantity. [unit depending on the marker format; see CALCulate<Chn>:MARKer<Mk>:FORMat]  

*RST value

 

SCPI, Command Types

Device-specific, query only

 

Example:

 

Suppose that the active setup contains an active trace no. 1.

CALC:MARK:REF ON

Create the reference marker and display it in the center of the sweep range.

CALC:MARK:REF:Y?

Query the measurement value at the reference marker position.

 


CALCulate<Chn>:MARKer<Mk>:SEARch:BFILter:RESult[:STATe] <Boolean>

Shows or hides the bandfilter search results in the diagram area.  

<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 - Show the bandfilter search results. If no bandfilter search has been initiated before (CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute BFILter), nothing is displayed.
OFF - hide the bandfilter search results.  

*RST value

OFF

 

SCPI, Command Types

Device-specific, command or query

 

Example:

 

See CALCulate<Chn>:MARKer<Mk>:BWIDth.

 

 


CALCulate<Chn>:MARKer<Mk>:SEARch[:IMMediate]

Initiates a search according to the search function selected with CALCulate<Chn>:MARKer<Mk>:FUNCtion[:SELect]. The marker must be created before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON.  

Note: Together with CALCulate<Chn>:MARKer<Mk>:FUNCtion[:SELect] this command is the ZVR-compatible equivalent of CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute ....

<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 M 1 to M 4.

 

Range [def. unit]

– [–]

*RST value

 

SCPI, Command Types

Device-specific, no query

 


CALCulate<Chn>:MARKer<Mk>:SEARch:LEFT

Selects a search mode for marker no. <Mk> and initiates a search for the next valid peak to the left. 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 LPEak.

<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>:SEARch:NEXT

Selects a search mode for marker no. <Mk> and initiates a search for the next highest or lowest value among the valid peaks. 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 NPEak.

<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>:SEARch:RIGHt

Selects a search mode for marker no. <Mk> and initiates a search for the next valid peak to the right. 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 RPEak.

<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>:SEARch:TRACking <Boolean>

Enables or disables the marker tracking mode for marker no. <Mk>. Tracking mode causes the active minimum/maximum or target search of the active marker to be repeated after each sweep. A marker must be created and a search mode must be active (CALCulate<Chn>:MARKer<Mk>:FUNCtion:EXECute ...) to use this command.  

If the current search mode is a bandfilter search this command enables or disables bandfilter tracking.

<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 M 1 to M 4.

 

<Boolean>

ON | OFF - Enables or disables the marker tracking mode.

*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 ON; :CALC:MARK:FUNC:EXEC MAXimum

Create marker no. 1 and assign them to trace no. 1. Activate a maximum search for marker no. 1.

CALC:MARK:SEAR:TRAC ON  

Enable the tracking mode for the created marker.

 

 


CALCulate<Chn>:MARKer<Mk>[:STATe] <Boolean>

Creates the marker numbered <Mk> 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. If unspecified the numeric suffix is set to 1.

 

<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 ON; MARK2 ON  
Create markers 1 and 2 and assign them to trace no. 1. The default position of both markers is the center of the sweep range.

 

 


CALCulate<Chn>:MARKer<Mk>:TARGet <search_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.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10  

 

<search_value>

Target search value of marker no. <Mk>

Range [def. unit]

Depending on the format of the active trace (CALCulate<Chn>:FORMat). For a dB 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

 

Example:

CALC:MARK ON

Create marker no. 1 and display it in the center of the sweep range.

:CALC:MARK:TARG -10; FUNC:EXEC TARG

Define a target search value of –10 dB and start the target search.

CALC:MARK:X?

Query the stimulus value corresponding to the target search result.

 


CALCulate<Chn>:MARKer<Mk>:TYPE
NORMal | FIXed

Sets marker no. <Mk> to normal or fixed mode. The marker must be created before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON.  

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10

 

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 ON; :CALC:MARK:TYPE FIX

Create marker 1and display it in the center of the sweep range as a fixed marker.

CALC:MARK:X 1GHz

Shift the marker horizontally. The response value remains fixed.

 


CALCulate<Chn>:MARKer<Mk>:X <stimulus_value>

Defines the stimulus (in Cartesian diagrams: x-axis) value of the marker no. <Mk>, which can (but doesn't have to) be created using CALCulate<Chn>:MARKer<Mk>[:STATe] ON.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10  

 

<stimulus_value>

Stimulus value of marker no. <Mk>

Range [def. unit]

–9.9E+11 Hz to +9.9E+11 Hz [Hz] (for frequency sweeps)
-999 dBm to +999 dBm [dBm] (for power sweeps)
0 s to 127500 s [s] (for time and CW mode sweeps)  

*RST value

0 Hz

 

SCPI, Command Types

Device-specific, command or query

 

Example:

Suppose that the active setup contains an active trace no. 1 and the sweep range for a frequency sweep starts at 1 GHz.

CALC:MARK ON

Create marker no. 1 and display it in the center of the sweep range.

CALC:MARK:X 1GHz

Set the marker to the beginning of the sweep range.

 


CALCulate<Chn>:MARKer<Mk>:Y?

Returns the response (in Cartesian diagrams: y-axis) value of marker no. <Mk>. The marker must be created before using CALCulate<Chn>:MARKer<Mk>[:STATe] ON.

<Chn>

Channel number used to identify the active trace

 

<Mk>

Marker number in the range 1 to 10  

 

Response

Response value of marker no. <Mk>  

Range [def. unit]

Depending on the measured quantity. [unit depending on the marker format; see CALCulate<Chn>:MARKer<Mk>:FORMat]  

*RST value

 

SCPI, Command Types

Device-specific, query only

 

Example:

Suppose that the active setup contains an active trace no. 1.

CALC:MARK ON

Create marker no. 1 and display it in the center of the sweep range.

CALC:MARK:Y?

Query the measurement value at the marker position.