Standard event register, Standard event register -12 – RIGOL DP832A User Manual

Page 22

Advertising
background image

RIGOL

Chapter 1 Programming Overview

1-12

DP800 Programming Guide

Standard Event Register

The standard event register reports the following instrument events: power-on detection command syntax

error, command execution error, self-test or calibration error, query error or operation complete. All these

events or anyone of these events can be reported by the enable register to the bit5 (ESB, Event Summary

Bit) of the status byte register. To set the enable register mask, you need to use the

*ESE

command to write

a decimal value into the register. The definitions of the bits in the standard event register and the

corresponding decimal values of their binary weights are as shown in Table 1-5.

Note: An error status (bit2, 3, 4 or 5 in the standard event register) records one or more errors in the

power supply error queue and you can send the

:SYSTem:ERRor?

command to read the error queue.

Table 1-5 Definitions of the bits in the standard event register and the corresponding decimal values of their

binary weights

Bit

Decimal Value Definition

0

OPC

1

Operation complete. All the previous commands

including the

*OPC

command are executed.

1

Not used

0

Always be 0.

2

QYE

4

Query error. The power supply tries to read the output

buffer but it is empty; or the system receives a new

command before the previous query command is read;

or both the input and output buffers are full.

3

DDE

8

Device error. Self-test or calibration error occurs.

4

EXE

16

Execution error (include trigger ignore, initialization

ignore, setting conflict, data overrange, data too long

and invalid parameter value).

5

CME

32

Command error. Command syntax error occurs.

6

Not used

0

Always be 0.

7

PON

128

Power-on inspection. Turn off the power supply after

the event register is read or cleared and then turn on

the power supply.

Advertising
This manual is related to the following products: