MDO3000 Programmer Manual.pdf - 第450页
Commands Listed in A lphabetical Order Syntax MATHVAR:VAR<x > <NR3> MATHVAR:VAR<x >? Related Commands MA THV AR:V AR< x> , MA TH[1]:DEFine Arguments <NR3> is a floating point number that spec…

Commands Listed in Alphabetical Order
MATH[1]:VERTical:UNIts
Returns the math waveform vertical measurement unit value.
Group
Math
Syntax
MATH[1]:VERTical:UNIts?
Examples
MATH:VERTICAL:UNITS? might return MATH:VERTICAL:UNITS "joules"
indicating that the math vertical unit label for unknown values is joules.
MATHVAR? (Query Only)
Queries both numerical values you can use within math expressions.
Group
Math
Syntax
MATHVAR?
Related Commands
M AT H VA R: VA R < x > , MATH[1]:DEFine
Returns
<NR3> are the stored numerical values.
Examples
MATHVAR? returns the values of all variables stored in locations 1 through 2.
MATHVAR:VAR<x>
This command specifies one of two different numerical values you can use within
math expressions. These values can range from -10.0e-18 to 1.0e+15; the default
values are 0.0. <x> specifies the location, 1 or 2, in which you can store values.
Stored math variables can be referenced within math expressions as VAR1 and
VA R 2 .
For example, the following command defines MATH1 as the product of Channel
1andma
th variable 1: MATH1:DEFINE "CH1 * VAR1".
Group
Math
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-419

Commands Listed in Alphabetical Order
Syntax
MATHVAR:VAR<x
> <NR3>
MATHVAR:VAR<x>?
Related Commands
MATHVAR:VAR<
x>,
MATH[1]:DEFine
Arguments
<NR3> is a floating point number that specifies the numerical value to be stored
in location x <1 through 2>.
Examples
MATHVAR:VAR2 -2.43E-5 stores the value -2.43e-5 in the second math variable
location.
MATHVAR:VAR2? might return:MATHVAR:VAR2 24.3000E-6 for the expression
stored in location 2.
MEASUrement? (Query Only)
Returns all measurement parameters.
Group
Measurement
Syntax
MEASUrement?
Examples
MEASUREMENT? might return :MEASUREMENT:IMMED:DELAY:DIREC TION
FORWARDS;EDGE1 RISE;EDGE2 RISE;:ME ASUREMENT:IMMED:TYPE
PERIOD;UNITS "s";SOURC E1 CH1;SOURCE2
CH2;:MEASUREMENT:MEAS1:DELAY:DIRECTION FORWARDS;EDGE1
RISE;EDGE2 RISE;:MEASU REMENT:MEAS1:STATE 1;TYPE
FREQUENCY;UNITS "Hz";SOURCE1 CH1;S OURCE2 CH2;COUNT
0;MAXIMUM 0.0000;MEAN 0.0000;MINIM UM 0.0 000;STDDEV
0.0000;:MEASUREMENT:MEAS2:DELAY:DIRECTION FORWARDS;EDGE1
RISE;EDGE2 RISE;:MEASU REMENT:MEAS2:STATE 1;TYPE PERIOD;UNITS
"s";SOURCE1 CH1;SOURCE 2 CH2;COUNT 0;MAXIMUM 0.0000;MEAN
0.0000;MINIMUM 0.0000;STDDEV 0.000 0;:MEASUREMENT:MEAS3:
DELAY:DIRECTION FORWARDS;EDGE1 RIS E;EDGE2
RISE;:MEASUREMENT:MEAS3:STATE 1;TYPE PK2PK;UNITS "V";SOURCE1
CH1;SOURCE2 CH2;COUNT 0;MAXIMUM 0.0000;MEAN 0.0000;MINIMUM
0.0000;STDDEV 0.0000;: MEASUREMENT:MEAS4:DELAY:DIRECTION
FORWARDS;EDGE1 RISE;EDGE2 RISE;:ME ASUREMENT:MEAS4:STATE
0;TYPE PERIOD;UNITS "s";SOURCE1 CH1;SOURCE2 CH2;COUNT
0;MAXIMUM 0.0000;MEAN 0.0000;MINIM UM 0.0000;STD DEV
0.0000;:MEASUREMENT:METHOD AUTO;REFLEVEL:METHOD
2-420 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
PERCENT;ABSOL
UTE:HIGH 0 .0000;LOW 0.0000;MID1
0.0000;MID2 0.0000;:MEA SUREMENT:REFLEVEL:PERCENT:HIGH
90.0000;LOW 10.0000;MID 1 50.0000;MID2
50.0000;:MEASUREMENT:INDICATORS:STATE
OFF;NUMHORZ 0;NUMVERT 0;HORZ1 99.0000E +36;HORZ2
99.0000E+36;HORZ3 99.0000E+36;HORZ4 99.0000E+36;VERT1
99.0000E+3
6;VERT2 9 9.0000E+36;VERT3 99.0000E+36;VERT4
99.0000E+36;:MEASUREMENT:STATISTICS:MODE OFF;WEIGHTING
32;:MEASUREMENT:GATING SCREEN
.
MEASUrem
ent:CLEARSNapshot (No Query Form)
Removes the measurement snapshot display.
Group
Measurement
Syntax
MEASUrement:CLEARSNapshot
Related Commands
CLEARMenu
MEASUrement:GATing
Specifies or returns the measurement gating setting.
Group
Measurement
Syntax
MEASUrement:GATing {OFF|SCREen|CURSor}
MEASUrement:GATing?
Arguments
OFF turns off measurement gating (full record).
SCREen turns on gating, using the left and right edges of the screen.
CURSor limits measurements to the portion of the waveform between the vert
ical
bar cursors, even if they are off screen.
Examples
MEASUREMENT:GATING CURSOR turns on measurement gating using the cursors
as limits.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-421