prog.book : chapter1.fm 15 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Making Measurements
HP E4418B/E4419B Programming Guide 1-15
Using MEASure?
The simplest way to program the power meter for measurements is by
using the MEASure? query. However, this command does not offer much
flexibility. When you execute the command, the power meter selects the
best settings for the requested configuration and immediately performs
the measurement. You cannot change any settings (other than the
expected power value, resolution and with the HP E4419B the
measurement type) before the measurement is taken. This means you
cannot fine tune the measurement, for example, you cannot change the
filter length. To make more flexible and accurate measurements use the
CONFIGure command. The measurement results are sent to the output
buffer. MEASure? is a compound command which is equivalent to an
ABORT, followed by a CONFigure, followed by a READ?.
MEASure? Examples
The following commands show a few examples of how to use the
MEASure? query to make a measurement. It is advisable to read through
these examples in order as they become increasingly more detailed. These
examples configure the power meter for a measurement (as described in
each individual example), automatically place the power meter in the
“wait-for-trigger” state, internally trigger the power meter to take one
reading, and then sends the reading to the output buffer.
These examples give an overview of the MEASure? query. For further
information on the MEASure? commands refer to the section
“MEASure[1|2] Commands” starting on page 2-49 .
Example 1 - The Simplest Method
The following commands show the simplest method of making single
channel (for example A or B) measurements. Using MEAS1? will result in
an upper window measurement, and MEAS2? in a lower window
measurement. The channel associated with the window can be set using
the source list parameter (see example 2), or will default as in this
example (See “HP E4419B only” on page 18.).
MEAS1?
specifies window
MEAS2?