Source]:level:alc:mode, Source]:level:attenuation – RIGOL DSG3000 Series User Manual

Page 61

Advertising
background image

Chapter 2 Command System

RIGOL

DSG3000 Programming Guide

2-41

[:SOURce]:LEVel:ALC:MODE

Syntax

[:SOURce]:LEVel:ALC:MODE OFF|ON|AUTO
[:SOURce]:LEVel:ALC:MODE?

Description

Set the working state of the ALC function.
Query the working state of the ALC function.

Parameter

Name

Type

Range

Default

OFF|ON|AUTO Discrete

OFF|ON|AUTO

AUTO

Explanation

 OFF: turn off the ALC function. At this point, the instrument switches to

"Sample & Hold" state.

 ON: turn on the ALC function.

 AUTO: the current working state of the ALC function is automatic.

Return Format

The query returns OFF, ON or AUTO.

Example

:LEV:ALC:MODE OFF /*Turn off the ALC function*/
:LEV:ALC:MODE? /*The query returns OFF*/

Related

Commands

[:SOURce]:LEVel:SH:ACTIve
[:SOURce]:LEVel:SH:MODE

[:SOURce]:LEVel:ATTenuation

Syntax

[:SOURce]:LEVel:ATTenuation <value>
[:SOURce]:LEVel:ATTenuation?

Description

Set the attenuation of the RF output amplitude.
Query the attenuation of the RF output amplitude.

Parameter

Name

Type

Range

Default

<value>

Integer

0dB to 125dB

125dB

Explanation

 When <value> is set in "Number" form, the default unit is dB. In addition,

<value> can also be set in "Number + Unit" form, for example, 20dB.

 The attenuation can only be set to multiples of 5.

 The default unit of the return value is dB.

 After the amplitude attenuation is set, you can use the up/down direction keys

or knob to modify the attenuation at the current step. You can query or set the

current step using the

[:SOURce]:LEVel:ATTenuation:STEP

command.

 You can set the attenuation only when the "FIXed" attenuation mode is

selected by the

[:SOURce]:LEVel:ATTenuation:MODE

command. In "AUTO"

mode, this command is invalid.

Return Format

The query returns the RF amplitude attenuation, for example, 20.00.

Example

:LEV:ATT 20dB
:LEV:ATT?

Related

Commands

[:SOURce]:LEVel:ATTenuation:STEP
[:SOURce]:LEVel:ATTenuation:MODE

Advertising