beautypg.com

Status:questionable:enable, Status:questionable:enable -99 – RIGOL DP832A User Manual

Page 123

background image

Chapter 2 Command System

RIGOL

DP800 Programming Guide

2-99

:STATus:QUEStionable:ENABle

Syntax

:STATus:QUEStionable:ENABle
:STATus:QUEStionable:ENABle?

Description

Enable the bits in the enable register of the questionable status register.
Query the bits currently enabled in the enable register of the questionable status

register.

Parameter

Name

Type

Range

Default

Discrete

Refer to the "Explanation"

None

Explanation

is a decimal value corresponding to the sum of the binary

weights of the bits to be enabled in the enable register of the questionable

status register. For the definitions of the bits in the questionable status

registers of the multi-channel models and single-channel model and their

corresponding decimal values, refer to Table 1-1 and Table 1-4.

Take the single-channel model (DP811A) as an example. To enable bit0

(Voltage, CC mode) and bit4 (Overtemperature) in the enable register of the

questionable status register, set to 17 (according to

2

0

+2

4

=17).

 After the bits in the enable register of the questionable status register are

enabled, the system reports the states of the corresponding bits to the status

byte register.

 When is set to 0, executing this command will clear the enable

register of the questionable status register.

Return Format

The query returns a decimal value corresponding to the sum of the binary weights

of the bits to be enabled in the enable register of the questionable status register,

for example, 17.

Example

:STAT:QUES:ENAB 17 /*Enable bit0 and bit4 in the enable register of the

questionable status register*/

:STAT:QUES:ENAB? /*Query the bits currently enabled in the enable register

of the questionable status register and the query

returns 17*/

This manual is related to the following products: