11.07.2015 Views

Agilent 33120A User's Guide

Agilent 33120A User's Guide

Agilent 33120A User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 Remote Interface ReferenceThe SCPI Status RegistersTo Determine When a Command Sequence is Completed1 Send a device clear message to clear the function generator’soutput buffer (e.g., CLEAR 710).2 Clear the event registers with the *CLS (clear status) command.3 Enable the “operation complete” bit (bit 0) in the Standard Eventregister by executing the *ESE 1 command.4 Send the *OPC? (operation complete query) command and enter theresult to ensure synchronization.5 Execute your command string to program the desired configuration,and then execute the *OPC (operation complete) command as the lastcommand. When the command sequence is completed, the “operationcomplete” bit (bit 0) is set in the Standard Event register.6 Use a serial poll to check to see when bit 5 (standard event) is set in theStatus Byte summary register. You could also configure the functiongenerator for an SRQ interrupt by sending *SRE 32 (Status Byte enableregister, bit 5).206

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!