EasyManua.ls Logo

Keysight N9020B - 9.2.2 *CLS - Clear Status; 9.2.3 *ESE - Standard Event Status Enable

Keysight N9020B
2530 pages
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...
9 Programming the Instrument
9.2 IEEE 488.2 Common Commands
Example
*CAL?
Runs a full alignment and returns 0 if no problems encountered
Status Bits/OPC depend-
encies
See "Align Now All" on page 1808
9.2.2 *CLS - Clear Status
Clears the "Status Byte Register" on page 2459, by emptying the error queue and
clearing all bits in all of the event registers, and consequently all bits in the Status
Byte Register.
The Status Byte Register summarizes the states of the other registers. It is also
responsible for generating service requests.
Remote
Command
*CLS
Example
*CLS
Clears the error queue and the Status Byte Register
Notes For related commands, see :SYSTem:ERRor[:NEXT]?
See also :STATus:PRESet and all commands in the "Status Register System & STATus Subsystem"
on page 2450
Status Bits/OPC
dependencies
Resets all bits in all event registers to 0, which resets all the status byte register bits to 0 also
9.2.3 *ESE - Standard Event Status Enable
Sets the desired bits in the Event Enable sub-register of the "Standard Event Status
Register" on page 2463, which enables the corresponding bits in the Standard Event
Status Register. This register monitors I/O errors and synchronization conditions
such as operation complete, request control, query error, device-dependent error,
status execution error, command error, and power on. The selected bits are ORed to
become a summary bit (bit 5) in the "Status Byte Register" on page 2459, which can
be queried.
The query returns the state of this register.
Numeric values for bit patterns can be entered using decimal or hexadecimal
representations (0 to 32767, equivalent to #H0 to #H7FFF).
Remote
Command
*ESE <integer>
*ESE?
Example
*ESE 36
Enables the Standard Event Status Register to monitor query and command errors (bits 2 and 5)
2423 Short Range Comms & IoT Mode User's &Programmer's Reference

Table of Contents

Other manuals for Keysight N9020B

Related product manuals