Chapter 5 173
Language Reference
Common IEEE Commands
Instrument State Query
*LRN?
Returns current instrument state data in a block of defined length. The
<state data> is in a machine readable format only. Sending the query
returns the following format:
SYST:SET #NMMMM<state_data>
The following example is a response to *LRN? The actual sizes will vary
depending on the instrument state data size.
Example: :SYST:SET #42016<state data>
Where: 4 (the N in the preceding query response example) represents the
number of digits to follow
Where: 2016 (the MMMM in the preceding query response example)
represents the number of bytes that follow in the <state data>.
The state can be changed by sending this block of data to the
instrument after removing the size information:
:SYST:SET <state data>
Operation Complete Command
*OPC
Sets bit 0 in the standard event status register to “1” when all pending
operations have finished.
Operation Complete Query
*OPC?
This query stops any new commands from being processed until the
current processing is complete. Then it returns a “1”, and the program
continues. This query can be used to synchronize events of other
instruments on the external bus.