Agilent Technologies Agilent 86120C manual

Models: Agilent 86120C

1 294
Download 294 pages 52.87 Kb
Page 135
Image 135
Manual background

Programming Commands

Common Commands

 

*OPC

 

The *OPC (operation complete) command sets the operation complete

 

bit in the event status register when all pending device operations

 

have finished.

Syntax

*OPC

 

*OPC?

Description

The *OPC? query places an ASCII “1” in the output queue when all

 

pending device operations have finished.

 

This command is useful when the computer is sending commands to

 

other instruments. The computer can poll the event status register to

 

check when the Agilent 86120C has completed the operation. Use the

 

*OPC? query to ensure all operations have completed before continuing

 

the program. By following a command with an *OPC? query and an

 

ENTER statement, the program will pause until the response (ASCII

 

“1”) is returned by the instrument.

 

Be sure the computer’s timeout limit is at least two seconds, since

 

some of the Agilent 86120C commands take approximately one second

 

to complete.

Query Response

1

Example

OUTPUT 720;”*OPC?”

 

ENTER 720;Op$

 

*RCL

 

This command recalls a saved instrument state.

Syntax

*RCL <integer>

 

<integer> range is 1 to 4.

Description

For a description of an instrument state, see *SAV command.

4-7

Page 135
Image 135
Agilent Technologies Agilent 86120C manual