Power Sensor Remote Operation 1
U2000 Series Programming Guide 11
INITiate and FETCh? and CONFigure to make measurements.
It is advisable to read through these examples in order as they become
increasingly more detailed.
These examples give an overview of the CONFigure command. For further
information on the CONFigure commands refer to Chapter 2, “MEASurement
Commands”.
Example 1 - The Simplest Method
The following program segments show the simplest method of querying the
current window’s measurement results respectively.
Using READ?
Using INITiate and FETCh?
Example 2 - Specifying the Source List Parameter
The CONFigure and READ? commands have three optional parameters, an
expected power value, a resolution and a source list. These parameters must
be entered in the specified order. If parameters are omitted, they default from
the right. The parameter DEFault is used as a place holder.
The following examples use the source list parameter to specify the
measurement. The expected power and resolution parameters are defaulted,
leaving them at their current settings. The measurement is carried out on the
current window.
Although the READ? and FETCh? queries have three optional parameters it is
not necessary to define them as shown in these examples. If they are defined
they must be identical to those defined in the CONFigure command otherwise
*RST Reset instrument
CONF1 Configure current window - defaults to a measurement
READ1? Take current window measurement
*RST Reset instrument
CONF1 Configure current window - defaults to a measurement
INIT1 Causes a measurement
FETC1? Retrieves the current window’s measurement