MDO3000 Programmer Manual.pdf - 第67页
Command Groups T able 2-33: Measurement Commands (cont.) Command Description MEASUrement:IMMed:DELay? Returns information about the immediate delay measurement MEASUrement:IMMed:DELay: DIRectio n This command speci fi es …

Command Groups
Measurement C
ommand Group
Use the commands in the Measurement Command Group to control the automated
measurement system.
Up to eight automated measurements can be displayed on the screen. In the
commands, these measurement readouts are named MEAS<x>, where <x> is the
measurement number.
In addition to the eight displayed measurements, the measurement commandslet
you specify an additional measurement, IMMed. The immediate measurement
has no front-panel equivalent. Immediate measurements are never displayed.
Because they are computed only when needed, immediate measurements slow the
waveform update rate less than displayed measurements.
To obtain measurement results, use the MEASUrement:MEAS<x>:VALue?
query for displayed results or the MEASUrement:IMMed:VALue? query for
immediate measurements.
Measurement commands can set and query measurement parameters. You
can assign some parameters, such as waveform sources, differently for each
measurement. Other parameters, such as reference levels, have only one value,
which applies to all measurements.
Readout values for t
he 8 displayed measurements are updated periodically. As
such, queries of these measurement values may return 9.91E+37, which represents
NaN (not a number) and a measurement warning event (e.g. 2225. “Measurement
error. No waveform to measure”) when the measurement is not yet computed.
Immediate measurement queries will return values once the measurement has
been computed.
Example of Immediate
Measurements
An example command sequence follows that illustrates immediate measurements
of Cycle Mean on channel 1:
:MEASUrement:IMMed:SOUrce1 CH1
:MEASUrement:IMMed:TYPe CMEan
:MEASUrement:IMMed:VALue? -18.5568E-3
:MEASUrement:IMMed:VALue?;VALue?;VALue?
-21.6400E-3;-23.8023E-3;-21.0064E-3
Table 2-33: Measurement Commands
Command
Description
MEASUrement?
Returns all measurement parameters
MEASUrement:CLEARSNapshot
Removes the measurement snapshot display
MEASUrement:GATing This command specifies the measurement gating
MEASUrement:IMMed?
Returns all immediate measurement setup parameters
2-36 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Command Groups
Table 2-33: Measurement Commands (cont.)
Command
Description
MEASUrement:IMMed:DELay? Returns information about the immediate delay measurement
MEASUrement:IMMed:DELay:
DIRection
This command specifies the search direction to use for immediate delay measurements
MEASUrement:IMMed:DELay:
EDGE<x>
This command specifies the slope of the edge used for immediate delay “from” and “to”
waveform measurements
MEASUrement:IMMed:SO Urce<x> This command specifies the “from” source for all single channel immediate measurements
This command specifies the source to measure “to” for two-channel measurements
MEASUrement:IMMed:TYPe This command specifies the type of the immediate measurement
MEASUrement:IMMed:UN Its? Returns the units of the i mmediate measurement
MEASUrement:IMMed:VALue? Returns the value of the immediate measurement
MEASUrement:INDICa tors?
Returns all measurement indicator parameters
MEASUrement:INDICa tors:
HORZ<x>?
Returns the position of the specified horizontal measurement indicator
MEASUrement:INDICa tors:
NUMHORZ?
Returns the number of horizontal measurement indicators currently being displayed
MEASUrement:INDICa tors:
NUMVERT?
Returns the number of vertical measurement indicators currently being displayed
MEASUrement:INDIC ators:STATE This command specifies the state of visible m easurement indicators
MEASUrement:INDICa tors:
VERT<x>?
Returns the value of the specified vertical measurement indicator
MEASUrement:MEAS<x>?
Returns all measurement parameters
MEASUrement:MEAS<x>:COUNt? Returns the number of values accumulated since the last statistical reset
MEASUrement:MEAS<x>:DELay? Returns the delay measurement parameters for the specified measurement
MEASUrement:MEAS<x>:DELay:
DIRection
This command specifies the search direction to use for delay measurements
MEASUrement:MEAS<x>:DELay:
EDGE<x>
This command specifies the slope of the edge to use for delay “from” and “to” waveform
measurements
MEASUrement:MEAS<x>:
MAXimum?
Returns the maximum value found since the last statistical reset
MEASUrement:MEAS<x>:MEAN?
Returns the mean value accumulated since the last statistical reset
MEASUrement:MEAS<x>:
MINImum?
Returns the minimum value found since the last statistical reset
MEASUrement:MEAS<x>:
SOUrce<x>
This command specifies the “from” source for all single channel immediate measurements
This command specifies the source to measure “to” for two-channel measurements
MEASUrement:MEAS<x>:STATE This command specifies whether the specified measurement slot is computed and displayed
MEASUrement:MEAS<x>:STDdev? Returns the standard deviation of values accumulated since the last statistical reset
MEASUrement:MEAS<x>:TYPe This command specifies the measurement<x> type
MEASUrement:MEAS<x>:UNIts?
Returns measurement<x> units
MEASUrement:MEAS<x>:VALue? Returns the value of measurement<x>
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-37

Command Groups
Table 2-33: Measurement Commands (cont.)
Command
Description
MEASUrement:METHod This command specifies the method used for calculating reference levels
MEASUrement:REFLevel? Returns the current reference level parameters
MEASUrement:REFLevel:ABSolute:
HIGH
This command specifies the top reference level for rise time
MEASUrement:REFLevel:ABSolute:
LOW
This command specifies the low reference level for rise time
MEASUrement:REFLevel:ABSolute:
MID<x>
This command specifies the mid reference level for the specified channel in absolute volts
MEASUrement:REFLevel:METHod This command specifies the method for assigning high and low reference levels
MEASUrement:REFLevel:PERCent:
HIGH
This command specifies the top reference percent level for rise time
MEASUrement:REFLevel:PERCent:
LOW
This command specifies the low reference percent level for rise time
MEASUrement:REFLevel:PERCent:
MID<x>
This command specifies the mid reference level for the specified channel in percent
MEASUrement:STATIstics Clears or returns all of the statistics accumulated for all period m easurements (MEAS1
through MEAS4)
MEASUrement:STATIstics:MODe Turns measurement statistics on or off
MEASUrement:STATIstics:
WEIghting
Controls the responsiveness of the mean and standard deviation to waveform changes
Miscellaneous Command Group
Use the commands in the Miscellaneous Command Group to perform actions that
do not fit into other categories.
Table 2-34: Miscellaneous Commands
Command
Description
APPLication:LICENSE:SLOT<x>:
LOCation?
This query returns the application license l ocation. < x> can be slot number 1–4.
APPLication:LICENSE:SLOT<x>:
TRANSFER
You can use this command to transfer an application license from the module to internal
memory in the oscilloscope, and transfer it back.
APPLication:LICENSE:SLOT<x>:
TYPe?
This query returns the application license type of the module that is currently inserted in the
specified application module slot.
APPLication:TYPe
When a m ask/limit or power test application module is installed, one of the associated test
types is always selected by default. This command allows the test type to be changed
from the default.
AUTOSet Sets the vertical, horizontal and trigger controls to provide a stable display of the appropriate
waveform. This is equivalent to pressing the front panel Autoset button
AUTOSet:ENAble Enables or disables the autoset feature
2-38 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual