MDO3000 Programmer Manual.pdf - 第437页
Commands Listed in Alphabetical Order MASK:USER:WID TH? might return 0.0E+0, which is the default. MA TH[1]? (Query Only) Returns the definition of the math wave form. The returned data depends on th e setting of the MA T…

Commands Listed in Alphabetical Order
Examples
MASK:USER:VSC
ALE200E-3
sets the user mask nominal vertical scale to
200 millivolts per division.
MASK:USER:VS
CALE?
might return :MASK:USER:VSCALE 1.0 000E-3,
indicating that the nominal vertical scale of the displayed mask is set to 1 millivolt
per division.
MASK:USER:
WIDth
This command specifies the nominal bit width value, in seconds, to be used for
a user-defined custom mask. This is the time of one bit of data where bit width
=1/(data
rate of the signal).
NOTE. Width is set to the scope's horizontal time per div setting at the time the
mask is created. If you create a mask, extract the definition, modify width, then
recall the modified mask definition, you will get the same mask you originally did.
If you change the width after the mask has been recalled, you will modify the
mask ratio metrically; i.e., if you increase it by a factor of two, the mask display
become
s twice as wide, and the mask segment points are recalculated.
A series of examples showing how to use mask commands for typical tasks
is in
cluded in an appendix. (See page E-1, Mask/Limit Command Sequence
Examples.)
Conditions
This command requires a DPO4LMT application module for 4000 series models,
and an MDO3LMT application module for MDO3000 series models.
Group
Mask
Syntax
MASK:USER:WIDth <NR3>
MASK:USER:WIDth?
Related Commands
MASK:CUSTom,
SAVe:MASK
Arguments
<NR3> is a floating point number that indicates the nominal bit width value in
seconds.
Examples
MASK:USER:WIDTH 648E-9 sets the nominal bit width value of the user mask to
648 nanoseconds (1.544 Mbits/second).
2-406 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
MASK:USER:WID
TH?
might return 0.0E+0, which is the default.
MATH[1]? (Query Only)
Returns the definition of the math waveform. The returned data depends on the
setting of the MATH[1]:TYPe command.
Group
Math
Syntax
MATH[1]?
Related Commands
MATH[1]:TYPe
Examples
MATH? or MATH1 ? might return :MATH :TYPE DUAL;D EFINE
"CH1+CH2";VERTICAL:SCALE 100.0000E-3;POSITION
0.0000;UNITS "V";:MATH: 4.0000E-6;P OSITION 50.0 000;UNITS
"s";:MATH:SPECTRAL:MAG DB;WINDOW HA NNING
MATH[1]:AUTOSCale
Sets (or queries) the state of automatic vertical scaling of the math waveform. The
default state is ON (1).
Group
Math
Syntax
MATH[1]:AUTOSCale?
MATH[1]:AUTOSCale {0|1|OFF|ON}
Arguments
1 or ON enables automatic vertical scaling of the math waveform when the RF
reference level falls below -25.0 dBm. Reference levels greater than or equal
to -25.0 dBm cause the probe to go into
BYPass mode. The reference level is
set/queried using the command
RF:REFLevel.
0 or OFF disables math autoscaling.
Examples
MATH[1]:AUTOSC ON enables automatic vertical scaling of the math waveform.
MATHAUTOSCALE? might return 1 indicating that auto-scaling is enabled for the
math waveform.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-407

Commands Listed in Alphabetical Order
MATH[1]:DEFine
This command specifies the current math function as a text string. You must
also specify the type (dual waveform, FFT, advanced math, or spectrum math)
using MATH[1]:TYPe
Dual math expressions are strings of the form
<wfm> <o peration> <wfm>,
where the <wfm>s are any combination of live analog or reference waveforms
in the time domain display, the <operation> is any of +, -, * or /, and the type
has been se
tto
DUAL.
FFT math expressions are strings of the form
FFT(<wfm>), where <wfm> is any
live anal
og or reference waveforms in the time domain display, and the type has
been set to
FFT.
NOTE. You can also use FFT as part of a math expression by setting the type
to
ADVanced
using MATH[1]:TYPe. See examples of advanced type math
expressions below.
Advanced math expressions extend beyond dual math expressions, incorporating
combinations of advanced math functions, measurements, and operators.
Spectrum math (MDO models) expressions are strings of the form
<wfm><operation><wfm>, where the waveforms are any combination of live RF
or reference traces in the frequency domain display, the <operation> is either +
or –, and type has been set to
SPECTRUM.
Group
Math
Syntax
MATH[1]:DEFine <QString>
MATH[1]:DEFine?
Related Commands
MATHVAR:VAR<x>,
MATH[1]:TYPe
Arguments
<QString> quoted string argument is the mathematical expression that defines
the waveform.
2-408 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual