Chapter 6 Command Reference 235
SMATH
Refer to "Query Commands" near the front of this chapter for more information.
• Related Commands: LEVEL, LFILTER, NRDGS, SSRC, TRlG
Example OUTPUT 722;"SLOPE POS" !SELECTS THE POSITIVE GOING SLOPE FOR
!LEVEL DETECTION
SMATH
Store Math. Places a number in a math register.
Syntax SMATH [register][,number]
register
The registers that can be written to are:
Default register = DEGREE.
Power-on register = see above listing.
number
register
Parameter
Numeric
Query
Equiv. Register Contents
Power-on
Value
DEGREE 1 Time constant for FILTER and
RMS
20
LOWER 2 Smallest reading in STATS 0
MAX 3 Upper limit for PFAIL operation 0
MEAN 4 Average of readings in STATS 0
MIN 5 Lower limit for PFAIL 0
NSAMP 6 Number of samples in STATS 0
OFFSET 7 Subtrahend in NULL and SCALE
operations
0
PERC 8 % value for PERC operation 1
REF 9 Reference value for DB operation 1
RES 10 Reference impedance for DBM
operation
50
SCALE 11 Divisor in the SCALE operation 1
UPPER 13 Largest reading in STATS 0
HIRES 14 Not used by any math operation 0
PFAILNUM 15 The number of readings that passed
PFAIL before a failure was
encountered
0