VNA Master™Programming Manual : VNA Commands : :CALCulate:MARKer Subsystem : Marker Type
 
Marker Type
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:TYPE
Description
Sets the specified marker to the given marker type and make it the active marker. If set to REF then the specified marker is turn on and is set as reference marker. If set to DELT then the specified marker is turn on and is set as a delta marker. If set to OFF then the specified marker is turn off. The query version of this command returns the string “REF” if the specified marker is set as reference marker, “DELT” if set as delta marker, or “OFF” if the specified marker is currently set to off.
Syntax
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:TYPE  REFerence|DELTa|OFF
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:TYPE?
Cmd Parameter
<char> REFerence|DELTa|OFF
Query Response
<char> REF|DELT|OFF
Default Value
OFF
Example
To set marker #1 as the reference marker and turn it on:
:CALCulate:MARKer1:TYPE REFerence
:CALCulate:MARKer:TYPE REF
Front Panel Access
Marker, Marker Type
Marker X Value
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:X
Description
Sets the location of the marker on the x‑axis at the specified location. <x‑parameter> is defined in the current x‑axis units. The set command will set the specified marker as the active marker. The <x‑parameter> given unit must correspond to the specified marker domain type. If no unit is specified with the <x‑parameter> then the default unit will be used.
The query version of the command returns the location of the marker on the x‑axis followed by the unit. If the Start and Stop values of the domain are the same, then the query returns the X value along with the marker point number within the brackets. The marker point number is determined with the following formula:
For example, if 201 points are used in the measurement display, then the query returns: <x‑value> (101). When the results of division include a fraction, as in the current example, the result is rounded DOWN. 201 / 2 = 100.5 Rounding down to 100 before adding  1 yields the 101 that is returned by the query.
If an error occurs, such as marker not ON, the query version of the command returns an error code of – 400. Note that the marker is snapped to the data point closest to the specified value. The selected marker must be ON for the command to be valid.
Syntax
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:X <x‑parameter>
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:X?
Cmd Parameter
<NRf> <x‑parameter> (hertz, meters, feet)
Query Response
<NR3> <x‑parameter> (hertz, meters, feet)
Default Units
Hz for frequency domain,
Meters or Feet for distance domain.
Example
To set reference marker #2 (frequency domain) to 5000 hertz on the x‑axis:
:CALCulate:MARKer2:X 5000
:CALCulate:MARKer2:X 5000Hz
To set reference marker #1 to 1.5 GHz on the x‑axis:
:CALCulate:MARKer1:X 1.5GHz
:CALCulate:MARKer1:X 1.5GHz
Related Command
:CALCulate:MARKer#:DOMain?
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:Y?
Front Panel Access
Marker, [Marker 1/2/3/4/5/6/7/8/9/10/11/12]
 
Marker Read Y Value
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:Y?
Description
Reads the current Y value for the specified marker. The units are in the y‑axis unit. The command returns the marker readout style followed by the Y value and unit. If an error occurs, such as marker not ON, the command returns an error code of – 400. The selected marker must be ON for the command to be valid.
Returned Readout Style
Returned Value Symbols
Graph Type
R&I: (real, imaginary)
Real and Imaginary
SWR: magnitude
SWR
LM: magnitude dB
Log Mag
LNM: magnitude dB
Lin Mag
LMP: (magnitude dB, phase deg)
Log Mag & Phase
LNMP: (magnitude dB, phase deg)
Lin Mag and Phase
PH: phase deg
Phase
Z: (real impedance ohm,
imaginary impedance ohm)
Impedance
PZ: (magnitude impedance ohm,
phase impedance deg)
Polar Impedance
NZ: (real normalized impedance,
imaginary normalized impedance)
Normalized Impedance
Y: (real admittance S,
imaginary admittance S)
Admittance
NY: (real normalized admittance,
imaginary normalized admittance)
Normalized Admittance
GD: group delay unit
Group Delay
LM/2: magnitude dB
LogMag/2
 
Marker Read Y Value (continued)
Syntax
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:Y?
Cmd Parameter
NA (query only)
Query Response
<NR3> (depends on display type)
Default Units
Current y‑axis unit
Related Command
:CALCulate:MARKer#:DOMain?
:CALCulate:MARKer<Mk>:FORMat <Style>
:CALCulate:MARKer[1]|2|3|4|5|6|7|8|9|10|11|12:X?
Front Panel Access
NA