beautypg.com

Status:questionable:instrument[:event, Status:questionable:instrument:isummary[]:cond, Status:questionable:instrument[:event]? -102 – RIGOL DP832A User Manual

Page 126

background image

RIGOL

Chapter 2 Command System

2-102

DP800 Programming Guide

:STATus:QUEStionable:INSTrument[:EVENt]?

Syntax

:STATus:QUEStionable:INSTrument[:EVENt]?

Description

Query the event register of the channel questionable status register.

Explanation

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

 This command returns a decimal value (corresponding to the sum of the binary

weights of all the bits in the register) and clears the status of the 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, if questionable events occur on CH1 and CH3 of the instrument,

the bit1 (INST1 event summary, event SUMMARY bit of CH1) and bit3 (INST3

Event Summary, event SUMMARY bit of CH3) in the event register of the channel

questionable status register are set and this command returns 10 (according to

2

1

+2

3

=10).

 The bits in the event register of the channel questionable status register are

latched and reading the register will clear it. You can also use the

*CLS

command to clear the register.

Return Format

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

all the bits in the register, for example, 10.

Example

:STAT:QUES:INST? /* Query the event register of the channel questionable

status register and the query returns 10*/

Related

Command

*CLS

:STATus:QUEStionable:INSTrument:ISUMmary[]:COND?

Syntax

:STATus:QUEStionable:INSTrument:ISUMmary[]:COND?

Description

Query the condition register of the specified channel questionable status SUMMARY

register.

Parameter

Name

Type

Range

Default

[]

Discrete

1|2|3

None

Explanation

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

models contain multiple channel questionable status SUMMARY registers and

[] represents the questionable status SUMMARY registers of CH1, CH2 and

CH3 respectively when it is 1, 2 and 3. When [] is omitted, the system

queries the condition register of the questionable status SUMMARY register of

the current channel.

 This command returns a decimal value corresponding to the sum of the binary

weights of all the bits in the register. For the definitions of the bits in the

channel questionable status SUMMARY register and their corresponding

decimal values, refer to Table 1-3.

For example, when the query returns 0, the power supply is turned off or in the

unregulated mode; when the query returns 1, the power supply is in CC mode;

when the query returns 2, the power supply is in CV mode; when the query

returns 3, power supply failure occurs.

Return Format

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

of all the bits in the register, for example, 1.

Example

:STAT:QUES:INST:ISUM1:COND? /*Query the condition register of the CH1

questionable status SUMMARY register and

the query returns 1*/

This manual is related to the following products: