Agilent Technologies A.18.00 Weather Radio User Manual


 
77
Chapter 3, GPIB Command Guidelines
Guidelines for Operation
Reading Back Display Units Setting. Use the Display Units query command,
DUNits?, to read back the current Display Units setting. For example, the
following BASIC language program statements query the current Display Units
setting for the
TX Power measurement:
!Query Display Units setting for TX Power measurement.
OUTPUT 714;"MEAS:RFR:POW:DUNits?"
!Enter the returned value into a string variable.
ENTER 714;A$
The returned units-of-measure will be whatever is shown on the Test Set’s front-
panel display for the TX Power measurement: dBm, V, mV, dBuV, or W. All
returned characters are in upper case. For example, if dBuV is displayed, DBUV
is returned.
Guidelines for Display Units
When querying a field’s setting or measurement result through GPIB, the Test Set
always returns numeric values in GPIB Units or Attribute Units, regardless of the
field’s current Display Units setting.
The Display Units for a field’s setting or measurement result can be set to any valid
unit-of-measure, regardless of the field’s GPIB Units or Attribute Units.
The Display Units setting for a field’s setting is not affected when changing the field’s
value through GPIB.
For example, if the AFGen1 Freq Display Units are set to kHz, and the command
AFG1:FREQ 10 HZ is sent to change AFGen1’s frequency to 10 Hz, the Test Set
displays 0.0100 kHz; not 10 Hz.