Rst -4, Sre -4, Stb? -4 – RIGOL DSG3000 Series User Manual

Page 24: Trg -4

Advertising
background image

RIGOL

Chapter 2

Command System

2-4

DSG3000 Programming Guide

*RST

Syntax

*RST

Description

Restore the RF signal generator to the preset state (factory or user).

Related

Command

:SYSTem:PRESet

*SRE

Syntax

*SRE <value>
*SRE?

Description

Set the enable register for the status byte register.
Query the enable register for the status byte register.

Parameter

Name

Type

Range

Default

<value>

Integer

0 to 255

0

Explanation

The bit 0 and bit 1 of the status byte register are not used and are always treated as

0, therefore, the range of <value> are the decimal numbers corresponding to the

binary numbers ranging from 00000000 (0 in decimal) to 11111111 (255 in decimal)

and of which the bit 0 and bit 1 are 0.

Return Format

The query returns an integer which equals the sum of the weights of all the bits that

have already been set in the register.

Example

*SRE 16 /*Enable the bit 4 (16 in decimal) of the status byte register */
*SRE? /*The query returns 16*/

*STB?

Syntax

*STB?

Description

Query the event register for the status byte register. The value of the status byte

register is set to 0 after this command is executed.

Explanation

The bit 0 and bit 1 of the status byte register are not used and are always treated as

0. The query returns the decimal numbers corresponding to the binary numbers

ranging from 00000000 (0 in decimal) to 11111111 (255 in decimal) and of which the

bit 0 and bit 1 are 0.

Return Format

The query returns an integer which equals the sum of the weights of all the bits that

have already been set in the register.

*TRG

Syntax

*TRG

Description

Trigger a pulse modulation, RF sweep or LF sweep-sine immediately.

Related

Commands

:TRIGger:LFOutput[:IMMediate]
:TRIGger:PULSe[:IMMediate]
:TRIGger[:SWEep][:IMMediate]

Advertising