Status:questionable:instrument:enable, Status:questionable:instrument:enable -101 – RIGOL DP832A User Manual

Page 125

Advertising
background image

Chapter 2 Command System

RIGOL

DP800 Programming Guide

2-101

:STATus:QUEStionable:INSTrument:ENABle

Syntax

:STATus:QUEStionable:INSTrument:ENABle <enable value>
:STATus:QUEStionable:INSTrument:ENABle?

Description

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

register.

Parameter

Name

Type

Range

Default

<enable value>

Discrete

Refer to the "Explanation"

None

Explanation

 This command is only applicable to multi-channel models.

 <enable value> is a decimal value corresponding to the sum of the binary

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

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

questionable status register and their corresponding decimal values, refer to

Table 1-2.

For example, to enable bit1 (INST1 event summary, event SUMMARY bit of

CH1), bit2 (INST2 event summary, event SUMMARY bit of CH2) and bit3

(INST3 Event Summary, event SUMMARY bit of CH3) in the enable register of

the channel questionable status register, set <enable value> to 14 (according

to 2

1

+2

2

+2

3

=14).

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

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

status byte register.

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

register of the channel 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 channel questionable status

register, for example, 14.

Example

:STAT:QUES:INST:ENAB <14> /*Enable bit1, bit2 and bit3 (INST(n) event

summary, event SUMMARY bit of CH(n), n is

1, 2 and 3) in the enable register of the

channel questionable status register*/

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

enable register of the channel questionable

status register and the query returns 14*/

Advertising
This manual is related to the following products: