User`s manual

Chapter 3 71
HP-IB Command Guidelines
Guidelines for Operation
Example 3-26 Example
!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
HP-IB, the Test Set always returns numeric values in HP-IB 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 HP-IB
Units or Attribute Units.
The Display Units setting for a field’s setting is not affected when
changing the field’s value through HP-IB.
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.