227
Common Command Descriptions
*OPT? (Option Identification Query)
The *OPT? command tells the Test Set to identify any reportable device options
install in the unit. The Test Set responds to the *OPT? command by placing
information which describes any reportable installed options into the Output
Queue. The data is in ASCII format. The response data is obtained by reading the
Output Queue into a string variable of length 255. The response data is organized
into fields separated by commas. Some fields, such as the Filter Option field, have
more than one valid string (only one is returned).
If an option is not installed, an ASCII character 0 (zero) is placed in the output
string for that option. If an option is standard, it is not reported (an ASCII
character 0 (zero) is not placed in the output string for that option). The length of
the returned string can vary depending upon the Test Set being queried, installed
options and standard options. The option definitions and their returned string are
shown in
table 14 on page 228.
Example BASIC program
10 DIM A$[255]20 OUTPUT 714;"*OPT?"
30 ENTER 714;A$
40 PRINT A$
50 END
Example response from HP 8920B with Opt. 006 and HP 83201B Opt. 003 TDMA
Cellular Adapter
SIGNALING,SPECTRUM ANALYZER,RADIO INTERFACE,
HIGH STABILITY REF,C MESSAGE,6KHZ BPF,6 DB RF ATTEN,IQ MODEM,0,
0,0,0,0,0