Spectrum Master Programming Manual : AM/FM/PM Commands : :CALCulate Subsystem
 
:CALCulate Subsystem
The commands in this subsystem process data that has been collected via the SENSe subsystem. Commands may require the instrument to be in the proper mode or set up to use the feature of the command. For example, Marker commands function in one of the spectrum modes, Summary commands require the Summary mode. Use the :AFP:DEM:MODE command to set the desired mode.
:CALCulate:MARKer{1|2|3|4|5|6}[:STATe] OFF|ON|0|1
:CALCulate:MARKer{1|2|3|4|5|6}[:STATe]?
Title
Marker State
Description:
Sets the specified marker on/off.
Parameter:
OFF|ON|0|1
Parameter Type:
<boolean>
Default Value:
OFF
Example:
To turn off reference marker #1:
:CALCulate:MARKer1:STATe OFF
Front Panel Access
Marker, On/Off
:CALCulate:MARKer{1|2|3|4|5|6}:DELTa[:STATe] OFF|ON|0|1
:CALCulate:MARKer{1|2|3|4|5|6}:DELTa[:STATe]?
Title
Delta Marker State
Description:
Sets the specified delta marker on or off.
Parameter:
OFF|ON|0|1
Parameter Type:
<boolean>
Default Value:
OFF
Example:
To turn on delta marker #3:
:CALCulate:MARKer3:DELTa ON
:CALCulate:MARKer3:DELTa 1
:CALCulate:MARKer3:DELTa:STATe ON
:CALCulate:MARKer3:DELTa:STATe 1
To turn off delta marker #6:
:CALCulate:MARKer6:DELTa OFF
:CALCulate:MARKer6:DELTa:STATe OFF
:CALCulate:MARKer6:DELTa:STATe 0
Front Panel Access
Marker, Delta
:CALCulate:MARKer{1|2|3|4|5|6}:DELTa:X <x-parameter>
:CALCulate:MARKer{1|2|3|4|5|6}:DELTa:X?
Title
Delta Marker X Value
Description:
Sets the location of the delta marker on the x-axis at the specified location <x-parameter> plus the reference marker x-axis. <x-parameter> is defined in the current x-axis units. The query version of the command returns the location of the delta marker on the x-axis.
Parameter:
<x-parameter>
Default Unit:
Hz or seconds if in Audio Waveform.
Example:
If both the reference and delta marker #1 is currently at 1 GHz on the x-axis, send the command below to set the delta marker #1 to 2 GHz on the x-axis:
:CALCulate:MARKer1:DELTa:X 1GHz
(In Audio Waveform) If both the reference and delta marker #1 is currently at 25 µs on the x-axis, send the command below to set the delta marker to 50µs on the x-axis:
:CALCulate:MARKer1:DELTa:X 25µs
Related Command:
:CALCulate:MARKer[1]|2|3|4|5|6:X
Front Panel Access
Marker, Delta
:CALCulate:MARKer{1|2|3|4|5|6}:DELTa:Y?
Title
Delta Marker Read Y Value
Description:
Reads the current absolute Y value for the specified delta marker. The units are the units of the y‑axis. In RF spectrum view, the value is returned in dBm. In Audio Spectrum or Audio Waveform view, the value is returned in % for AM, Hz for FM and Radians for PM.
Default Unit:
Current y-axis unit
:CALCulate:MARKer{1|2|3|4|5|6}[:SET]:CENTer
Title
Marker Frequency to Center
Description
In RF spectrum view, this command sets the center frequency equal to the frequency of the specified marker. Note that this will result in a change to the start and stop frequencies and may also result in a change to the span. Note that this command is not valid in Audio Spectrum, Audio Waveform and Summary view.
Front Panel Access
Marker, Marker Freq to Center
:CALCulate:MARKer{1|2|3|4|5|6}:MAXimum
Title
Marker (Maximum) Peak Search
Description:
Puts the specified marker at the maximum amplitude in the trace.
Front Panel Access
Marker, Marker [1/2/3/4/5/6], Peak Search
Marker, Marker [1/2/3/4/5/6], More Peak Options, Peak Search
:CALCulate:MARKer{1|2|3|4|5|6}[:SET]:RLEVel
Title
Marker to Reference Level
Description:
Sets the reference level equal to the measured amplitude of the specified marker. Note that this may result in a change to the input attenuation. Note that this command is not valid in Audio Spectrum, Audio Waveform and Summary view.
Front Panel Access
Marker, Marker to Ref Lvl
:CALCulate:MARKer{1|2|3|4|5|6}:X <x-parameter>
:CALCulate:MARKer{1|2|3|4|5|6}:X?
Title
Marker X Value
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 query version of the command returns the location of the marker on the x-axis. Note that the marker is snapped to the data point closest to the specified value. If the specified marker is not on it is set to on.
Parameter
<x-parameter>
Default Unit:
Hz or seconds if in Audio Waveform.
Example:
To set reference marker #2 to 5 hertz on the x-axis:
:CALCulate:MARKer2:X 5
:CALCulate:MARKer2:X 5Hz
To set reference marker #1 to 1.5 GHz on the x-axis:
:CALCulate:MARKer:X 1.5GHz
:CALCulate:MARKer1:X 1.5GHz
(In Audio Waveform) To set reference marker #3 to 1.5 milli-seconds on the x-axis:
:CALCulate:MARKer3:X .0015
:CALCulate:MARKer3:X 1.5ms
:CALCulate:MARKer{1|2|3|4|5|6}:Y?
Title
Marker Read Y Value
Description:
In RF spectrum view, the value is returned in dBm. In Audio Spectrum or Audio Waveform view, the value is returned in % for AM, Hz for FM and Radians for PM.
Default Unit:
Current y-axis unit
:CALCulate:MARKer:AOFF
Title
Turn All Markers Off
Description:
Turns off all markers.
Front Panel Access
Marker, More, All Markers Off
:CALCulate:MARKer:TABLe[:STATe] OFF|ON
:CALCulate:MARKer:TABLe[:STATe]?
Title
Marker Table State
Description:
Turns the Marker Table on or off. Setting the value to ON will turn on the marker table. Setting the value to OFF will turn off the marker table.
Parameter:
OFF|ON
Parameter Type:
<boolean>
Default Value:
OFF
Example:
To turn on marker table:
:CALCulate:MARKer:TABLe ON