Agilent Technologies 8156A manual Opc

Models: 8156A

1 289
Download 289 pages 37.75 Kb
Page 98
Image 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.

ExampleOUTPUT 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

98

Page 98
Image 98
Agilent Technologies 8156A manual Opc