![HP 8920B Programmer'S Manual Download Page 38](http://html.mh-extra.com/html/hp/8920b/8920b_programmers-manual_166189038.webp)
38
Chapter 1, Using HP-IB
Getting Started
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
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
"HP-IB Units (UNITs)" on page 70
and
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
for proper variable type).
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.
Summary of Contents for 8920B
Page 10: ...10 ...
Page 16: ...Contents 16 9 Error Messages Index 673 ...
Page 17: ...17 1 Using HP IB ...
Page 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Page 49: ...49 2 Methods For Reading Measurement Results ...
Page 61: ...61 3 HP IB Command Guidelines ...
Page 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Page 85: ...85 4 HP IB Commands ...
Page 90: ...90 Adjacent Channel Power ACP ...
Page 116: ...116 Configure I O Configure ...
Page 156: ...156 Call Processing ...
Page 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Page 242: ...242 Common Command Descriptions ...
Page 251: ...251 5 Advanced Operations ...
Page 377: ...377 7 IBASIC Controller ...
Page 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Page 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Page 643: ...643 9 Error Messages ...
Page 672: ...672 ...
Page 682: ...Index 682 ...