EasyManua.ls Logo

HP 8920B - Page 69

HP 8920B
682 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
69
Chapter 3, HP-IB 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 HP-IB, the Test Set al-
ways 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 dis-
plays 0.0100 kHz; not 10 Hz.

Table of Contents

Other manuals for HP 8920B

Related product manuals