48
*ESE
Event Status Enable
Syntax:
*ESE <mask>
Parameters:
<mask> is an integer in the range 0 to 255 inclusive.
<mask> is written to the Event Status Enable register.
Function:
The Event Status Enable register is AND’ed with the Event Status register. If
any bit is set in the result of this AND’ing operation the ESB bit (bit 5) of the
Status Byte will be set. The Status Byte can be used in conjunction with the
Service Request Enable register to generate a service request.
The Event Status Enable register is an 8 bit, bit mapped register. Any bit set to
1 in the Event Status Enable Register allows the corresponding bit in the Event
Status Register to set the ESB bit (bit 5) in the Status Byte. Any bit set to 0
disables the corresponding bit in the Event Status Register from setting the
ESB bit. The Event Status Enable register is set to 0 upon power-up. See
Appendix C for a detailed description of the Event Status Register.
The significance of each bit in the Event Status Enable register is shown
below:
Operation Complete Mask
Request Control Mask (Not Used)
Query Error Mask
Device Error Mask
Execution Error Mask
Command Error Mask
User Request Mask (Not Used)
Power On Mask (Not Used)
0
1
2
3
4
5
6
7
Event Status Enable Register
Related Commands:
*CLS, *ESE?, *ESR?, EVENT?,
EVENTEN, EVENTEN?, *IST?, *PRE, *PRE?, *SRE, *SRE?, *STB?
*ESE?
Event Status Enable Query
Syntax:
*ESE
?
Parameters:
None
Function:
This query returns the contents of the Event Status Enable register. See the
*ESE command for a description of the Event Status Enable register. See
Appendix C for a detailed description of the Event Status Register.
Returns:
<mask>
<mask> is of type <number> and represents an unsigned integer in the range 0
to 255.
Related Commands:
*CLS, *ESE, *ESR?, EVENT?, EVENTEN, EVENTEN?,
*IST?, *PRE, *PRE?, *SRE, *SRE?, *STB?
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com