Keysight E4428C ESG RF Programming Manual page 190

Signal generators
Table of Contents

Advertisement

Programming the Status Register System
Status Groups
Standard Event Status Register
Table 4-5
Standard Event Status Register Bits
Bit
Description
0
Operation Complete. A 1 in this bit position indicates that all pending signal generator operations were completed
following execution of the *OPC command.
1
Request Control. This bit is always set to 0. (The signal generator does not request control.)
2
Query Error. A 1 in this bit position indicates that a query error has occurred. Query errors have instrument error
numbers from −499 to −400.
3
Device Dependent Error. A 1 in this bit position indicates that a device dependent error has occurred. Device
dependent errors have instrument error numbers from −399 to −300 and 1 to 32767.
4
Execution Error. A 1 in this bit position indicates that an execution error has occurred. Execution errors have
instrument error numbers from −299 to −200.
5
Command Error. A 1 in this bit position indicates that a command error has occurred. Command errors have
instrument error numbers from −199 to −100.
6
User Request Key (Local). A 1 in this bit position indicates that the Local key has been pressed. This is true even if
the signal generator is in local lockout mode.
7
Power On. A 1 in this bit position indicates that the signal generator has been turned off and then on.
Query:
*ESR?
Response:
The decimal sum of the bits set to 1
Example:
The decimal value 136 is returned. The decimal sum = 128 (bit 7) + 8 (bit 3).
Standard Event Status Enable Register
The Standard Event Status Enable Register lets you choose which bits in the Standard Event Status
Register set the summary bit (bit 5 of the Status Byte Register) to 1.
*ESE <data>
Example:
Query:
Response:
182
<data> is the sum of the decimal values of the bits you want to enable.
To enable bit 7 and bit 6 so that whenever either of those bits are set to 1, the Standard Event
Status summary bit of the Status Byte Register is set to 1. Send the command *ESE 192 (128 +
64).
*ESE?
Decimal value of the sum of the bits previously enabled with the *ESE <data> command.
Keysight Signal Generators Programming Guide

Advertisement

Table of Contents
loading

Table of Contents