prog.book : chapter1.fm 21 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Making Measurements
HP E4418B/E4419B Programming Guide 1-21
Example 1 - The Simplest Method
The following program segments show the simplest method of querying
the upper and lower window’s measurement results respectively.
Using READ?
*RST Reset instrument
CONF1 Configure upper window - defaults to a channel A
measurement
READ1? Take upper window (channel A) measurement
*RST Reset instrument
CONF2 Configure the lower window - defaults to channel A
(HP E4418B), Channel B (HP E4419B) measurement
READ2? Take lower window measurement (channel A on
HP E4418B, B on HP E4419B)
Using INITiate and FETCh?
*RST Reset instrument
CONF1 Configure upper window - defaults to a channel A
measurement
INIT1 Causes channel A to make a measurement
FETC1? Retrieves the upper window’s measurement
For the HP E4418B only:
*RST Reset instrument
CONF2 Configure lower window - HP E4418B defaults to channel A
INIT1? Causes channel A to make measurement
FETC2? Retrieves the lower window’s measurement
For the HP E4419B only:
*RST Reset instrument
CONF2 Configure lower window
INIT2? Causes channel B to make measurement
FETC2? Retrieves the lower window’s measurement