GPIB
4-44 370B User Manual
The Operation Complete Service Request (OPC SRQ) is a special type of
Service Request to communicate that certain instrument processes have been
finished. These OPC Service Requests indicate that the 370B has finished one
operation and is ready to proceed to the next.
It may not always be desirable to interrupt the program with Service Requests or
OPC Service Requests. Either type of Service Request can be masked so that the
370B will not assert them until the mask is removed. This masking is accom-
plished with the RQS and OPC commands.
RQS ON enables the 370B to assert an SRQ when it has an event to report. If
this feature is turned off (RQS OFF), up to ten events are still accumulated and
can be retrieved with successive EVEnt? queries.
OPC ON enables the 370B to assert an OPC SRQ upon completion of an
operation.
. The response to RQS? and OPC? queries only indicates whether the
function is enable (ON) or disable (OFF). They do not give any other status or
event information.
Table 4-12: Status Byte Responses
87654321 Decimal Condition
00000000 0 No status to report
01000001 65 Power on
01000010 66 OperationĆcomplete
01000011 67 User request
01000101 69 Collector supply recover
01100001 97 Command error
01100010 98 Execution error
01000011 99 Internal error
11000000 192 DeviceĆdependent event
Bit 1 through 4 are the four–bit status code;
Bit 6 indicates abnormal (1), normal (0) condition;
Bit 7 indicates SRQ asserted (depends on RQS command)
No status to report –This status byte is set when there are no event or device-de-
pendent events to report.
Masking Service Requests
Status Bytes