HP (Hewlett-Packard) 86140A TV Cables User Manual


 
4-62
Remote Operation
CALCulate Subsystem Commands
CALCulate[1|2|3|4|5|6]:MEAN[:DATA]?
Returns the arithmetic mean of the trace associated with the subopcode of the
CALCulate node. The points of the trace are summed in linear units and the
sum is divided by the number of points. When the CALCulate:MEAN:RANge is
ON
, the mean is calculated over the upper and lower X-axis range limits. If the
CALCulate:MEAN:RANge is
OFF
, the mean is calculated over the entire trace.
Sending this query when the CALCulate:MEAN:STATe is
OFF
will generate a
"Settings conflict" error. The MEAN calculation is performed at the end of
sweep. Sending this query when the instrument is in the middle of a sweep
will return the MEAN calculated for the
previous
sweep.
CALCulate[1|2|3|4|5|6]:MEAN:RANGe:LOWer?
This query returns the lower X-axis limit for the trace mean range calculation.
The range used for the trace mean range is the same range used for the total
power calculation, the marker search range, and the wavelength sweep range.
The return value is in meters, unless the span is set to zero, in which case the
return value is in seconds.
CALCulate[1|2|3|4|5|6]:MEAN:RANGe:LOWer:FREQuency <numeric_value>[HZ|KHZ|MHZ|GHZ|THZ]
Sets the lower X-axis limit for the trace mean range calculation. Setting this
value when CALCulate:MEAN:RANGe:STATe is
OFF
will automatically turn
CALCulate:MEAN:RANGe:STATe
ON
.
The range used for the trace mean range is the same range used for the total
power calculation, the marker search range, and the wavelength sweep range.
Changing the range with this command will change all four ranges. Default
units for the parameters are Hertz.
Sending this command when the instrument is in a zero span will generate a
Settings conflict error.
book.book Page 62 Monday, January 31, 2000 10:34 AM