RIGOL DG1000Z Series User Manual

Page 47

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-35

*SRE

Syntax

*SRE <value>

*SRE?

Description

Enable the bits in the status byte register to generate service request.
Query the bits enabled in the status byte register.

Parameter

Name

Type

Range

Default

<value>

Integer

Refer to the “Explanation”

None

Explanation

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

the bits enabled in the status byte register. The bits selected are accumulated

on bit6 (main accumulation bit) of the status byte register and service request

will be generated if any of the bits selected changes from 0 to 1.

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

register of the status byte register.

 If you have configured the instrument using the

*PSC 1

command, the enable

register of the status byte register will be cleared at the next power-on of the

instrument; if you have configured the instrument using the

*PSC 0

command,

the enable register of the status byte register will not be cleared at the next

power-on of the instrument.

Return Format

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

of the bits enabled in the status byte register.

Related

Command

*PSC

*STB?

Syntax

*STB?

Description

Query the status register of the status byte register.

Explanation

This command cannot clear the service request. Bit6 (main accumulation bit) of the

status byte register will not be cleared as long as the condition that generates the

service request is still in effect.

Return Format

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

of all the bits in the status register of the status byte register.

Advertising