Agilent Technologies A.18.00 Weather Radio User Manual


 
88
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\guidelin.fb
Chapter 3, GPIB Command Guidelines
Guidelines for Operation
Reading back the measurement, instrument function, or data function state
Use the query form of the command, STATe?, to determine the current state of a
measurement, instrument function or data function. If a measurement, instrument
function, or data function is queried, the returned value will be either a “1” (ON)
or a “0” (OFF).
For example, the following BASIC language statements illustrate the use of the
STATe? command to determine the current state of the TX Power measurement:
!Query the state of the TX Power measurement
OUTPUT 714;"MEAS:RFR:POW:STAT?"
ENTER 714;State_on_off
IF State_on_off = 1 THEN DISP "TX Power Measurement is ON"
IF State_on_off = 0 THEN DISP "TX Power Measurement is OFF
STATe Command Guidelines
Measurements that are displayed as numbers, or as analog meters using the METER
function, can be turned on and off.
The data functions REFerence, METer, HLIMit, and LLIMit can be turned on and off.
Any instrument function that generates a signal can be turned on and off. This includes
the RF Generator, Tracking Generator, AF Generator 1, AF Generator 2, and the
Signaling Encoder.
The Oscilloscope’s trace cannot be turned off.
The Spectrum Analyzer’s trace cannot be turned off.