Source[:mod]:askey commands, Source[<n>]][:mod]:askey:amplitude, Source[<n>]][:mod]:askey:internal[:rate – RIGOL DG1000Z Series User Manual

Page 134: Source[:mod]:askey commands -122

Advertising
background image

RIGOL

Chapter 2 Command System

2-122

DG1000Z Programming Guide

:SOURce[:MOD]:ASKey Commands

[:SOURce[<n>]][:MOD]:ASKey:AMPLitude

Syntax

[:SOURce[<n>]][:MOD]:ASKey:AMPLitude {<amplitude>|MINimum|MAXimum}

[:SOURce[<n>]][:MOD]:ASKey:AMPLitude? [MINimum|MAXimum]

Description

Set the ASK modulation amplitude of the specified channel.
Query the ASK modulation amplitude of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<amplitude>

Real

0Vpp to 10Vpp (HighZ)

2Vpp

Explanation

 In ASK modulation, the signal generator shifts its output amplitude between

two preset amplitudes (the carrier amplitude and modulation amplitude).

 When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related

parameters of CH1 by default.

Return Format

The query returns the ASK modulation amplitude in scientific notation with 7

effective digits, for example, 1.000000E+00 (the ASK modulation amplitude is

1Vpp).

Example

:SOUR1:ASK:AMPL 1 /*Set the ASK modulation amplitude of CH1 to 1Vpp*/
:SOUR1:ASK:AMPL? /*Query the ASK modulation amplitude of CH1 and the

query returns 1.000000E+00*/

[:SOURce[<n>]][:MOD]:ASKey:INTernal[:RATE]

Syntax

[:SOURce[<n>]][:MOD]:ASKey:INTernal[:RATE]

{<frequency>|MINimum|MAXimum}
[:SOURce[<n>]][:MOD]:ASKey:INTernal[:RATE]? [MINimum|MAXimum]

Description

Set the ASK modulation rate of the specified channel.
Query the ASK modulation rate of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<frequency>

Real

2mHz to 1MHz

100Hz

Explanation

 This command is only applicable to the internal modulation source. The ASK

modulation rate refers to the frequency at which the output amplitude “shifts”

between the carrier amplitude and modulation amplitude.

 When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related

parameters of CH1 by default.

Return Format

The query returns the ASK modulation rate in scientific notation with 7 effective

digits, for example, 1.500000E+02 (the ASK modulation rate is 150Hz).

Example

:SOUR1:ASK:INT 150 /*Set the ASK modulation rate of CH1 to 150Hz*/
:SOUR1:ASK:INT? /*Query the ASK modulation rate of CH1 and the query

returns 1.500000E+02*/

Advertising