Remote Control
Page 35
difference between *OPC and *OPC? is that *OPC set the "Operation Complete" bit,
and
*OPC? will return an ASCII "1" when all pending operations are completed. Make sure
that all the required enable bits are set.
When using *OPC or *OPC?, the program controlling the DLS 50 can determine when
the operation is completed by waiting for SRQ, or by reading the status byte with the
serial poll or with *STB? (if corresponding bits are enabled).
If the program uses the *OPC? command and then sends more queries, the program
must be ready to receive the "1" concatenated to other responses at any time.
When using *WAI, the communication time out should be set long enough to avoid
losing data (the DLS 50 needs approximately 200 ms to set a length).
4.9 References
The following references give more information on the IEEE 488 interface:
• ANSI/IEEE 488.1-1987, IEEE Standard Digital Interface for Programmable
Instrumentation (The Institute of Electrical and Electronics Engineers, Inc. 345
East 47th Street, New York, NY 10017-2394, USA)
• IEEE 488.2-1992, IEEE Standard Codes, Formats, Protocols, and Common
Commands (The Institute of Electrical and Electronics Engineers, Inc. 345 East
47th Street, New York, NY 10017-2394, USA)
• SCPI Standard Commands for Programmable Instruments, available from some
interface controller manufacturers (SCPI Consortium, 8380 Hercules Drive, Suite
P.S., La Mesa, CA 91942, Phone: (619) 697-8790, Fax: (619) 697-5955)