Specifications
3-18
Interrogating the Instrument Status
Interrupt Programming and Using the Service Request
Figure 3-7 Service Request Illustration
NOTE The SRQ enable bit, bit 6, of the Status Byte is the master status
summary bit and will automatically be set on the occurrence of a
service request.
The basic steps involved in setting the instrument to generate this service request are as
follows:
Step 1 Set the Transition Filter to pass the chosen condition, either when it
is true (positive) or when it is false (negative). The default value of
the Transition Filter is that all positive (true) conditions are passed.
Step 2 Program the Operation Enable Event register to allow bit 4 in the
Event register to set the summary bit in the Status Byte register.
Step 3 Program the Service Request Enable register to generate a service
request when the Operation Status summary bit (OPER) is set in the
Status Byte register.
Translating these three steps into SCPI command lines it appears as follows:
Using an INTERUPT to determine when the Error Detector has completed an operation
(a DATA/CLOCK alignment in this example):
10 CLS
20 Err-det=718
30 Escape=0
40 OUTPUT Err_det“STATUS:OPERATION:PTRANSITION 0”