EasyManua.ls Logo

Keysight U8480 Series - Page 68

Keysight U8480 Series
375 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1 U8480 Series Remote Operation
68 U8480 Series Programming Guide
Using the Operation Complete commands
*OPC? and *OPC allow you to maintain synchronization between the PC and the
U8480 Series. *OPC? places a 1 into the U8480 Series output queue when all
pending U8480 Series commands have completed. If your program reads this
response before continuing program execution, you can ensure synchronization
between one or more sensors and the PC.
The *OPC command sets bit 0 (Operation Complete) in the Standard Event Status
Register when all pending U8480 Series operations have completed.
Procedure
1 Send a Device Clear message to clear the U8480 Series output buffer.
2 Clear the event registers with the *CLS (clear status) command.
3 Enable operation complete using the *ESE 1 command (standard event
register).
4 Send *OPC? (operation complete query) to assure synchronization.
5 Send your programming command string, and place the *OPC (operation
complete) command as the last command.
6 Send *STB? (status byte query) to poll the register. This command does not
clear the status byte summary register.
Examples
This example program uses *OPC? to determine when the U8480 Series has
finished calibrating.
CAL:AUTO ONCE
*OPC?
MEAS?

Table of Contents

Related product manuals