User`s manual
90 Chapter 4
O:\Manuals\E6380A_Progguid\Book\Ieee.fm
IEEE Common Commands
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.
Example BASIC program
Example 4-2 Example
10 DIM A$[255]20 OUTPUT 714;"*OPT?"
30 ENTER 714;A$
40 PRINT A$
50 END