EasyManua.ls Logo

Colby Instruments PDL-100A - ESE? Event Status Enable Mask QUERY; ESR? Operation Complete QUERY

Colby Instruments PDL-100A
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents