Language Reference

SRQ

SRQ

Set bit(s) in status-byte register to simulate service request.

Item

Description

Range

0 { 255

 

 

Example

Description

30 OUTPUT 723;"SRQ 4;"

The SRQ command simulates service requests by setting bits in the status-byte register. Use the SRQ command to test the operation of programs containing service requests. For example, suppose your program branched to a subroutine whenever a spectrum-analyzer error was detected. Instead of testing the program by initiating spectrum-analyzer errors, execute SRQ 32 to simulate an error condition.

Notice that bit 4, command complete, sets when this command ￿nishes executing, regardless of whether the \command complete bit" was included in the value supplied.

7-449