![Agilent Technologies 8156A Operating And Programming Manual Download Page 99](http://html.mh-extra.com/html/agilent-technologies/8156a/8156a_operating-and-programming-manual_2868603099.webp)
98
Remote Commands
The Common Commands
*OPC
Syntax
*OPC
Definition
The instrument parses and executes all
program message units in the input queue and
sets the operation complete bit in the standard
event status register (ESR). This command can
be used to avoid filling the input queue before
the previous commands have finished
executing.
*OPC?
This query causes all the program messages in
the input queue to be parsed and executed.
Once it has completed it places an ASCII ’1’ in
the output queue. There is a short delay
between interpreting the command and putting
the ’1’ in the queue.
Example
OUTPUT 728;"*CLS;*ESE 1;*SRE
32"
OUTPUT 728;"*OPC"
OUTPUT 728;"*CLS;*ESE 1;*SRE
32"OUTPUT 728;"*OPC?"
ENTER 728;A$
*OPT?
Syntax
*OPT?
Definition
This query returns a string with the options
installed in the attenuator. There are three
fields, separated by commas. If an option is not
present in the instrument, the corresponding
field returns a
"0"
.
The three fields are
High Performance,
Monitor Output, High Return
Loss
. For example, if you have option 201
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com