*BE?
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?
*BR?
Event Status Register Query
Syntax:
*ESR?
Parameters:
None
Function:
This query returns the contents of the Event Status Register and clears the
Event Status Register except for bit
3.
Bit
3
is
determined by the state of the
Device Event and Device Event Enable registers. The 'CLS command will also
set this register to
0.
The Event Status register
is
AND'ed with the Event Status Enable register.
If
any bit
is
set in the result of this AND'ing operation the ESB bit @it
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. See Appendix C
for a detailed explanation of the Event Status Register.
The Event Status Register
is
an
8
bit, bit mapped register, with each bit signify-
ing a different condition. The bits are listed below, most significant bit first:
Oh
Operatloncomplete
Request Control (Not Used)
Query Enor
Devlce Enor
Execution Error
Command Error
User Request (Not Used)
Power
On
(Not Used)
Standard Event Status Register
Returns:
<value>
<value> is of type <number> and represents an unsigned integer in the range
0
to
255.
Related
Commands:
*CLS,
*BE, 'ESE?, EVENT, EVENTEN, EVENTEN?, 'KT?,
'PRE, 'PRE?, 'SRE, 'SRE?, 'STB?
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com