EasyManua.ls Logo

Keysight u2722a - Page 115

Keysight u2722a
141 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...
IEEE-488.2 Common Commands 13
Keysight U2722A/U2723A Programmer’s Reference 115
–Use the <enable_value> parameter to specify which bits will be enabled. The
specified decimal value corresponds to the binary-weighted sum of the bits
you wish to enable in the register. For example, to enable bit 2 (decimal
value = 4), bit 4 (decimal value = 16), and bit 5 (decimal value = 32), the
corresponding decimal value would be 52 (4 + 16 + 32).
The clear status (*CLS) command will not clear the enable register but it clears
all bits in the event register.
Returned Query Format
<NR1>
The query command reads the enable register and returns a decimal value that
corresponds to the binary-weighted sum of all bits set in the register.
For example, if bit 3 (decimal value = 8) and bit 7 (decimal value = 128) are
enabled, the query command will return “+136”.
Examples
The following command enables bit 4 (decimal value = 16) in the enable register.
If an execution error occurs, this condition will be reported to the Status Byte
register (bit 5 will be set to high).
*ESE 16
The following query returns the bits enabled in the register.
*ESE?
Typical Response: +16
See Also
*ESR?

Table of Contents

Other manuals for Keysight u2722a

Related product manuals