6-17
Programming Commands
Common Commands
The Standard Event Status Enable Register contains a mask value for the bits
to be enabled in the Standard Event Status Register. A "1" in the Standard
Event Status Enable Register enables the corresponding bit in the Standard
Event Status Register. A "0" in the enable register disables the corresponding
bit.
Syntax
* E S E < i n t e g e r >
* E S E ?
<integer> is a mask from 0 to 255.
Example
This example enables the User Request (URQ) bit of the Standard Event
Status Enable Register. When this bit is enabled and a front-panel key is
pressed, the Event Summary bit (ESB) in the Status Byte Register is also
set.
10 OUTPUT 720;"*ESE 64"
20 END
Query Response
The *ESE? query returns the current contents of the Standard Event Status
Enable Register as an integer from 0 to 255.
Table 6-3. Standard Event Status Enable Register Bits
Bit
Weight
Enables
Definition
7
128
PON - Power On
Indicates power is turned on.
6
64
Not used. Permanently set to zero.
5
32
CME - Command Error
Indicates whether the parser detected an
error.
4
16
EXE - Execution Error
Indicates whether a parameter was out-of-
range, or was inconsistent with the current
settings.
3
8
DDE - Device Dependent Error
Indicates whether the device was unable to
complete an operation for device-
dependent reasons.
2
4
QYE - Query Error
Indicates if the protocol for queries has
been violated.
1
2
RQC - Request Control
Indicates whether the device is requesting
control.
0
1
OPC - Operation Complete
Indicates whether the device has
completed all pending operations.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com