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