EasyManua.ls Logo

Anritsu MT8801C - Reading, Writing to and Clearing the Standard Event Status Enable Register; Reading, Writing to and Clearing the Standard Event Status Register

Anritsu MT8801C
493 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...
5-13
5.4.3
Reading, writing to and clearing the standard event status register
Reading
The register is read by the *ESR? common query.
The register is cleared after being read. The response message is an integer format data
value obtained by binary weighting the event bit and converting it to a decimal number.
Writing
With the exception of clearing, writing operations cannot be performed externally.
Clearing
The register is only cleared in the following cases:
[1] A *CLS command received.
[2] The power is turned on.
Devices first clear their standard event status registers but later record events that occurred
during the sequence in the registers (e.g., setting of the PON event bit).
[3] An event is read for the *ESR? command.
5.4.4 Reading, writing to and clearing the standard event status en-
able register
Reading
The register is read by the *ESE? common query.
The response message is an integer format data value obtained by binary weighting the
event bit and converting to a decimal number.
Writing
The register is written to by the *ESE common command. As bits 0 to 7 of the register
are respectively weighted to 1, 2, 4, 8, 16, 32, 64, and 128, data to be written is sent by
<DECIMAL NUMERIC PROGRAM DATA> which is the digit total of the bits selected
from these bits.
Clearing
The register is cleared in the following cases:
[1] An *ESE command with a data value of 0 is received.
[2] The power is turned on.
The standard event status enable register is not affected by the following:
[1] Changes of the status of the IEEE488.1 device clear function
[2] An *RST common command is received.
[3] A *CLS common command is received.
5.4 Standard Event Status Register

Table of Contents

Related product manuals