Agilent Technologies 8590 TV Converter Box User Manual


 
SRQ
Force Service Request
The SRQ command is used by an external controller to simulate interrupts from the spectrum
analyzer.
Syntax
service
SRQ
XSRQ
Item
Description/Default
mt3e
Number Any valid integer.
2 to 126.
Related Commands: CLS, EE, RQS, STB.
Example
OUTPUT
718;"RQS
8;SRQ
8;"
Sets bit mask for a hardware broken
semrice
request,
genm-
ates a hardware broken interrupt.
Note
A program can respond to the interrupt in the same way it would under a true
service request condition.
Description
The service request condition is also displayed on the spectrum analyzer screen with the
annotation
SRQ XXX,
where XXX is a three-digit octal number.
The conditions that can generate a service request are as follows:
32 = Illegal command
16 = Command complete
8 = Hardware broken
4 = End of sweep
2 = Units key pressed
A service request is generated only if the proper request mask bit has been set (see
“R&S”),
and either the condition itself or the Force Service Request is sent. To set the request mask,
choose the desired interrupt conditions and sum their assigned values. Executing the RQS
command with this value sets the bit mask. After setting the bit mask, only the chosen
conditions can produce an interrupt.
Each bit in the status byte is defined as shown in the following table.
5-520 Programming Commands