HP 8920A Programmer's Manual page 46

Rf communications test set
Hide thumbs Also See for 8920A:
Table of Contents

Advertisement

Chapter 1, Using HP-IB
Getting Started
NOTE:
When querying measurements or settings through HP-IB, the Test Set always returns
numeric values in HP-IB Units or Attribute Units, regardless of the current Display
Units setting. Refer to
(AUNits)" on page 81
46
The following example reads several fields.
Example
OUTPUT 714;"DISP AFAN"!Display the AF Analyzer screen.
OUTPUT 714;"AFAN:INP?"!Query the AF Anl In field
ENTER 714;Af_input$ !Enter returned value into a string ariable.
OUTPUT 714;"DISP RFG"!Display the RF Generator screen
OUTPUT 714;"RFG:FREQ?"!Query the RF Gen Frequency field.
ENTER 714;Freq !Enter the returned value into a numeric variable
"HP-IB Units (UNITs)" on page 78
for further information.
To Make a Simple Measurement
The basic method for making a measurement is very similar to the method used to
read a field setting.
1. Use the DISPlay command to access the screen containing the desired measurement.
2. Use the MEASure form of the syntax for that measurement to place the measured value
into the Test Set's output buffer.
3. Enter the value into the correct variable type within the program context (refer to
chapter 4, "HP-IB Commands"
The following example measures the power of an RF signal.
Example
!Display the RF Analyzer screen.
OUTPUT 714;"DISP RFAN"
!Measure the RF power and place result in output buffer.
OUTPUT 714;"MEAS:RFR:POW?"
!Enter the measured value into a numeric variable.
ENTER 714;Tx_power
The above example is very simple and is designed to demonstrate the fundamental
procedure for obtaining a measurement result. Many other factors must be
considered when designing a measurement procedure, such as instrument settings,
signal routing, settling time, filtering, triggering and measurement speed.
and
"Attribute Units
for proper variable type).

Advertisement

Table of Contents
loading

Table of Contents