54
*SRE
Service Request Enable
Syntax:
*SRE <mask>
Parameters:
<mask> is an integer in the range 0 to 255 inclusive. The value of this number
is written into the Service Request Enable register.
Function:
The Service Request Enabled Register is used in conjunction with the Status
Byte to generate service requests on the GPIB bus. See Appendix C for a
detailed description of the Event Status Register.
If a bit is set in the Service Request Enable register and it’s corresponding bit
is set in the Status Byte Register, then a service request will be generated once
for the for the given event. When service is being requested, bit 6 is set in the
byte returned by a serial poll of the 2835-C.
The Service Request Enable Register is an 8-bit, bit mapped register, with each
bit signifying a different condition. The bits are listed below, most significant
bit first:
New Data Available CH A
New Valid Data Available CH A
New Data Available CH B
New Valid Data Available CH B
Message Available Mask
Event Status Byte Mask
Always Zero
Error Queue Mask
0
1
2
3
4
5
6
7
Service Request Enable Register
Related Commands:
*SRE?, *STB?
*SRE?
Service Request Enable Query
Syntax:
*SRE?
Parameters:
None
Function:
This query returns the contents of the Service Request Enable register. See
the *SRE command for a description of the Service Request Enabled register.
See Appendix C for a detailed description of the Event Status Register.
Returns:
<mask>
<mask> is an integer in the range 0 to 255 inclusive, except that bit 6 is always
a zero.
Related Commands:
*SRE, *STB?
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com