VNA Master™Programming Manual : VNA Commands : :CALCulate:MARKer Subsystem : Reference Marker State
 
Reference Marker State
:CALCulate:MARKer<Mk>:REFerence[:STATe]
Description
Sets the specified marker <Mk> as the active marker and turns it on or off. If the value is set to ON or 1, the specified marker is turned on and set as a reference marker. If the value is set to OFF or 0, the specified marker is turned off. The query version of the command returns a 1 if the specified marker is ON and is a reference marker, and returns a 0 if not. <Mk> is the marker number in the range of 1 to 12. If no marker number is specified, then the marker number (the <Mk> value) defaults to 1.
Syntax
:CALCulate:MARKer<Mk>:REFerence[:STATe] OFF|ON|0|1
:CALCulate:MARKer<Mk>:REFerence[:STATe]?
Cmd Parameter
<boolean> OFF|ON|0|1
Query Response
<bNR1> 0|1
Default Value
OFF
Example
To turn on marker #3 and set it as reference marker:
:CALCulate:MARKer3:REFerence ON
:CALCulate:MARKer3:REFerence 1
:CALCulate:MARKer3:REFerence:STATe ON
:CALCulate:MARKer3:REFerence:STATe 1
To turn off marker #6:
:CALCulate:MARKer6:REFerence OFF
:CALCulate:MARKer6:REFerence:STATe OFF
:CALCulate:MARKer6:REFerence:STATe 0
Front Panel Access
Marker, Marker Type
 
Marker On Trace
:CALCulate:MARKer<Mk>:SOURce
Description
Sets the specified marker <Mk> to the given trace <Tr>. <Mk> is the marker number in the range of 1 to 12. If no marker number is specified, then the marker number (the <Mk> value) defaults to 1. <Tr> is the trace and must be one of the following 9 values:
TR1|TR2|TR3|TR4|MEM1|MEM2|MEM3|MEM4|ALL
The query version of the command returns “TR1” if the specified marker is on trace 1, “TR2” if on trace 2, “TR3” if on trace 3, “TR4” if on trace 4, “MEM1” if on trace 1 memory, “MEM2” if on trace 2 memory, “MEM3” if on trace 3 memory, “MEM4” if on trace 4 memory, and “ALL” if the specified marker is on all 4 traces. Note that the set version of this command sets the specified marker as the active marker.
If an error occurs, such as “Marker not ON”, then the query version of the command returns an error code of – 400.
Syntax
:CALCulate:MARKer<Mk>:SOURce <Tr>
:CALCulate:MARKer<Mk>:SOURce?
Cmd Parameter
<char> <Tr>
Query Response
<char> <Tr>
Front Panel Access
Marker, Marker on Trace