Agilent Technologies 86082A User Manual page 281

Wavelength domain component analyzer
Table of Contents

Advertisement

Programming Commands
Common Commands
The *OPC query allows synchronization between the computer and the WDCA
by using the message available (MAV) bit in the Status Byte, or by reading the
output queue. Unlike the *OPC command, the *OPC query does not affect the
OPC Event bit in the Standard Event Status Register.
Syntax
* O P C
* O P C ?
Example
This example sets the operation complete bit in the Standard Event Status
Register when the PRINT operation is complete.
10 OUTPUT 720;":PRINT;*OPC"
20 END
Query Response
The *OPC? query places an ASCII character "1" in the WDCA's output queue
when all pending selected device operations have finished.
*OPT? (Option)
The OPT? query returns a string with a list of installed options. If no options
are installed, the string will have a 0 as the first character.
Syntax
* O PT ?
Example
This example places all options into the string variable, Options$, then
prints the option model and serial numbers to the computer's screen.
10 DIM Options$[100]
20 OUTPUT 720;"*OPT?"
30 ENTER 720;Options$
40 PRINT Options$
50 END
Query Response
Returns a comma-separated list of strings that identifies the WDCA's option
configuration. A 0 indicates no options are present.
The length of the returned string may increase as options become available
in the future. Once implemented, an option name will be appended to the
end of the returned string, delimited by a comma.
6-20
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertisement

Table of Contents
loading

Table of Contents