MEANTEI
Trace Mean Above Threshold

MEANTH

Trace Mean Above Threshold

Returns the mean value of the given trace above the threshold, in measurement units.
Syntax
MEANTH
,--
source
-,
f
b
/
Pretef
ined
function path only
$
user-defined trace
/
b
trace range
/
Item Description/Default
User-dellned trace
A
trace defined by the TRDEF command
Trace Range A segment of trace A, trace B, trace C, or a user-defined trace.
Range
Any valid trace name.
Prerequisite Commands: TRDEF when using a user-defined trace. TS when using trace data.
Related Commands: MEAN, RMS, STDEV, TH, VARIANCE.
Restrictions: Not available with Analog+ display mode. See “ANLGPLUS” for more
information.
Example
10 OUTPUT
718;"IP;"
20 OUTPUT
718;"SNGLS;"
30 OUTPUT
718;"CF
300MHZ;SP
IGHZ;"
40 OUTPUT
718;"TH
-40;"
50 OUTPUT
718*"TS*"
60 OUTPUT
718;"MEiNTH
TRA?;"
70 ENTER
718;Number
80 DISP "MEAN OF TRACE A ABOVE THE THRESHOLD IS
";Number
Initializes spectrum analyzer:
Activates the single-sweep
mode.
Sets measurement range.
Sets threshold level to -40
dR
Sweeps trace A.
Returns the mean value of
trace A above the thresh-
old to the computer:
Assigns value to computer
variable, Number:
Displays result on the com-
90 END
puter screen.
Programming Commands
5-307