Status and Events
Use the *SRE com
mand 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 (eq
uivalent to an *ESE 0 command)
SRER 0 (equivalent to an *SRE 0 command)
Sending *PSC 0 lets the Enable Registers m aintain their values in nonvolatile
memory through a power cycle.
NOTE. T
o enable the PON (Power On) event to ge nerate a Service Request, send
*PSC 0, use the DESe and *ESE c ommands 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
*PS
C 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>.
T
he 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 first 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 the firstresponseaswell.To
avoid this situation, the controller should always read the response immediately
after sending any terminated quer y message or send a DCL (Device Clear) before
sending the second query.
3-4 MSO4000 and DPO4000 Series Programmer Manual