![Colby Instruments PDL-100A Operating And Programming Manual Download Page 49](http://html1.mh-extra.com/html/colby-instruments/pdl-100a/pdl-100a_operating-and-programming-manual_2635111049.webp)
Chapter 5
Common Commands
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual Page 40
*ESE?
Event Status Enable Mask
QUERY
*ESR?
Operation Complete
QUERY
The *ESE? query returns the ESE mask set for the ESR register.
Command
Syntax
*ESE?
Example
*ESE?
Returns
<decimal integer><NL>
Example
HP : DIM ESE_MASK$(50)
OUTPUT 705;"*ESE?"<NL>
ENTER 705;ESE_MASK$
PRINT(ESE_MASK$)
NI : DIM QUERY_RESPONSE As Variant
CWGPIB.Write “*ESE?”
QUERY_RESPONSE = CWGPIB.Read(250)
MsgBox (“ESR Mask is ” & QUERY_RESPONSE)
The *ESR? Query returns the contents of the Standard Event
Status Register (ESR). Reading this clears the Standard Event
Status Register, as does the *CLS command.
NOTE: Use the *ESE command to set the mask value to
determine which bits are reported in the ESR register.
Command
Syntax
*ESR?
Example
*ESR?
Returns
<decimal integer><NL>
Example
HP : DIM ESR$(50)
OUTPUT 705;"*ESR?"<NL>
ENTER 705;ESR$
PRINT(ESR$)
NI: DIM QUERY_RESPONSE As Variant
CWGPIB.Write “*ESR?”
QUERY_RESPONSE = CWGPIB.Read(250)
MsgBox (“Response is ” & QUERY_RESPONSE)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com