Status and Events
Use the *SRE command to set the SRER. Use the *SRE? query to read the
register. The RQS bit remains set to one until either the Status Byte Register is
read with a Serial Poll or the MSS bit changes back to a zero.
Figure 3-5: The Service Request Enable Register (SRER)
*PSC Command The *PSC command controls the Enable Registers contents at power-on. Sending
*PSC 1 sets the Enable Registers at power on as follows:
DESER 255 (equivalent to a DESe 255 command)
ESER 0 (equivalent to an *ESE 0 command)
SRER 0 (equivalent to an *SRE 0 command)
Sending *PSC 0 lets the Enable Registers maintain their values in nonvolatile
memory through a power cycle.
NOTE. Toenable the PON (Power On) event to generatea S ervice Request, send
*PSC 0, use the DESe and *ESE commands to enable PON in the DESER and
ESER, and use the *SRE command to enable bit 5 in the SRER. Subsequent
power-on cycles will generate a Service Request.
Queues
The *PSC command controls the Enable Registers contents at power-on. Sending
*PSC 1 sets the Enable Registers at power on as follows:
Output Queue The oscilloscope stores query responses in the Output Queue and empties this
queue each time it receives a new command or query message after an <EOM>.
The controller must read a query response before it sends the next command (or
query) or it will lose responses to earlier queries.
CAUTION. When a controller sends a query,an <EOM>, and a second query,
the oscilloscope normally clears the rst response and outputs the second while
reporting a Query Error (QYE bit in the ESER) to indicate the lost response. A
fast controller,however, may receive a part or all of therstresponseaswell.To
avoid this situation, the controller should always readthe response immediately
after sending any terminated query message or send a DCL (Device Clear) before
sending the second query.
3-4 MSO4000 and DPO4000 Series Programmer Manual