
215
Chapter 4, Status Reporting
GPIB Status Register Groups
Writing the Service Request Enable Register
The Service Request Enable Register is written with the *SRE Common
Command. The *SRE command sets the bit pattern (bits 0-5 and 7) of the Service
Request Enable Register. The Service Request Enable Register allows the
programmer to select which condition(s), as defined by bits 0-5 and 7 of the Status
Byte Register, will generate a Service Request on the GPIB bus. The Test Set
always ignores bit 6 (binary weight 64) of the bit pattern set by the *SRE
command.
The bit pattern set by the *SRE command is determined by selecting the desired
condition(s) from the Status Byte Register, setting the value of the bit position(s)
to a logical one, setting the value of all non-selected bit positions to a logical zero,
and sending the binary-weighted decimal equivalent of bits 0-5 and 7 after the
*SRE command. For example, if the programmer wished to have the occurrence
of a message available in the Output Queue (bit position 4 in the Status Byte
Register) and the occurrence of a condition in the Hardware# 2 Status Register
(bit position 1 in the Status Byte Register) to generate a Service Request on the
GPIB bus, the binary-weighted decimal value of the bit pattern for the Service
Request Enable Register would be determined as shown in
table 24
.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E8285A
Страница 18: ...Contents 17 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 100: ...99 4 Status Reporting Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 268: ...267 6 IBASIC Controller Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 346: ...345 A Error Messages Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...