STATus:QUEStionable:ENABle
STATus:QUEStionable:ENABle
Syntax
STATus:QUEStionable:ENABle <enable_val>
STATus:QUEStionable:ENABle?
Description
This command enables bits in the enable register for the Questionable Data Register group. The selected bits are then reported to the Status Byte.
![]()
For more information on the Status System for the instrument, see Status System Introduction.
Used With:
- 34901A 20 Channel Multiplexer (2/4-wire) Module
- 34902A 16 Channel Multiplexer (2/4-wire) Module
- 34907A Multifunction Module (digital input and totalizer channels only)
- 34908A 40 Channel Single-Ended Multiplexer Module
Parameters
Name Type Range of Values Default Value <enable_val> Numeric An integer from 0 to 65535, specifying the bits to enable as a bit sum. This is a required parameter.
Remarks
- The following table lists the bit definitions for the Questionable Data Register.
Bit # Bit Name Decimal Value Definition 0 Voltage Overload 1 The instrument has experienced a voltage overload. 1 Current Overload 2 The instrument has experienced a current overload. 2 Not Used 4 (Always returns 0) 3 Not Used 8 (Always returns 0) 4 Not Used 16 (Always returns 0) 5 Not Used 32 (Always returns 0) 6 Not Used 64 (Always returns 0) 7 Not Used 128 (Always returns 0) 8 Not Used 256 (Always returns 0) 9 Res Overload 512 The instrument has experienced a resistance overload. 10 Temperature Overload 1024 The instrument has experienced a temperature overload. 11 Totalizer Overflow 2048 A totalizer has counted past its limit. 12 Memory Overflow 4096 The reading memory has overflowed. 13 Not Used 8192 (Always returns 0) 14 Not Used 16384 (Always returns 0) 15 Not Used 32768 (Always returns 0)
- Use the <enable_value> parameter to specify which bits will be reported to the Status Byte. The decimal value specified corresponds to the binary-weighted sum of the bits you wish to enable in the register. For example, to enable bit 0 (decimal value = 1) and bit 10 (decimal value = 1024), the corresponding decimal value would be 1025 (1 + 1024).
- The *CLS (clear status) command will not clear the enable register but it does clear all bits in the event register.
- The *RST command has no effect on this register.
Return Format
The query command reads the enable register and returns a decimal value corresponding to the binary-weighted sum of all bits set in the register. For example, if bit 0 (decimal value = 1) and bit 10 (decimal value = 1024) are enabled, the query command will return +1025.
Examples
The following command enables bit 9 (decimal value = 512) in the enable register.
STAT:QUES:ENAB 512
The following query returns which bits are enabled in the register.
STAT:QUES:ENAB?
Typical Response: +512