*OPC

34980A

*OPC

Syntax

*OPC

Description

This command sets the "Operation Complete" bit (bit 0) in the Standard Event register at the completion of the current operation. This command is most useful with the INITiate, ROUTe:CLOSe, and ROUTe:OPEN commands.

For more information on the SCPI Status System for the Agilent 34980A, see Status System Introduction.

Remarks

  • The purpose of this command is to synchronize your application with the instrument.

  • Note the difference between the *OPC command and the *OPC? query command which returns "1" to the output buffer at the completion of the current operation.

Example

The following command waits until channel 1 on the module in slot 2 is fully closed and then sets the "Operation Complete" bit.  

ROUT:CLOS (@2001); *OPC

See Also

INITiate

ROUTe:CLOSe

ROUTe:OPEN

*OPC?

*WAI