
Chapter 3 73
HP-IB Command Guidelines
Guidelines for Operation
Changing HP-IB Units Use the UNITs command to change the
HP-IB Units setting for selected measurement or instrument setup
fields. Only the HP-IB units for power, relative level, and frequency
error can be changed. Table 3-2 lists the measurement and instrument
setup fields which have changeable HP-IB Units.
For example, the following BASIC language program statements
change the HP-IB Units for the TX Power measurement from W to dBm:
Example 3-27 Example
OUTPUT 714;"MEAS:RFR:POW:UNIT DBM"
Reading-Back HP-IB Units Use the UNITs? command to read back
the current HP-IB Units setting for a measurement or instrument
setup field. For example, the following BASIC language program
statements read back the current HP-IB Units setting for the TX Power
measurement:
Example 3-28 Example
!Query the current HP-IB Units setting for TX Power.
OUTPUT 714;"MEAS:RFR:POW:UNIT?"
!Enter the returned value into a string variable.
ENTER 714;A$
Table 3-2 HP-IB Units That Can Be Changed
Function Available HP-IB Units
TX Power measurement W or DBM
Adjacent Channel Power
LRATio, URATio DB or PCT
LLEVel, ULEVel W or DBM
SINAD measurement DB or PCT
DISTN measurement DB or PCT
SNR measurement DB or PCT
RF Generator Amplitude W or DBM or V or DBUV
Frequency Error HZ or PPM
Comentários a estes Manuais