82
Chapter 3, HP-IB Command Guidelines
Guidelines for Operation
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:
!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$
Guidelines for HP-IB Units
•
When setting the value of a numeric field (such as
AFGen1 Freq
), any non–HP-IB
Unit unit-of-measure must be specified in the command string, otherwise the current
HP-IB Unit is assumed by the Test Set.
For example, if the command RFG:FREQ 900 is sent through HP-IB, the Test Set will
interpret the data as 900 Hz, since HZ is the HP-IB Unit for frequency. This would
result in an
Input value out of range
error. Sending the command
RFG:FREQ 900 MHZ would set the value to 900 MHz.
•
When querying measurements or settings through HP-IB, the Test Set always returns
numeric values in HP-IB units, regardless of the current Display Unit setting. Numeric
values are expressed in scientific notation.
For example, if the
TX Frequency
measurement is displayed as 150.000000 MHz
on the Test Set, the value returned through HP-IB is 1.5008 (1.5
×
10
8
).
Converting the returned value to a format other than scientific notation must be done
programmatically.
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...