User manual

Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-137
[:SOURce[<n>]]:MOD:AM[:DEPTh]
Syntax [:SOURce[<n>]]:MOD:AM[:DEPTh] <depth>
[:SOURce[<n>]]:MOD:AM[:DEPTh]?
Description Set or query the AM modulation depth (indicates the amplitude variation degree and is
expressed as a percentage) of the specified source channel.
Parameter
Name
Type
Range
Default
[<n>] Discrete {1|2}
If omitted, the operation is
performed on source 1 by default
<depth>
Real
0 to 120
100
Explanation In 0% modulation, the output amplitude is half of the carrier waveform amplitude.
In 100% modulation, the output amplitude is equal to the carrier waveform amplitude.
In >100% modulation, envelop distortion which should be avoided in the real circuit will
occur and the output amplitude of the instrument would not exceed 5Vpp (50Ω load).
Return
Format
The query returns an integer.
Example
:MOD:AM 80 /*Set the AM modulation depth of source 1 to 80%*/
:MOD:AM? /*The query returns 80*/
[:SOURce[<n>]]:MOD:AM:INTernal:FREQuency
[:SOURce[<n>]]:MOD:FM:INTernal:FREQuency
Syntax [:SOURce[<n>]]:MOD:AM:INTernal:FREQuency <frequency>
[:SOURce[<n>]]:MOD:AM:INTernal:FREQuency?
[:SOURce[<n>]]:MOD:FM:INTernal:FREQuency <frequency>
[:SOURce[<n>]]:MOD:FM:INTernal:FREQuency?
Description Set or query the modulating waveform frequency of AM or FM of the specified source
channel. The default unit is Hz.
Parameter
Name
Type
Range
Default
[<n>] Discrete {1|2}
If omitted, the operation is
performed on source 1 by default
<frequency> Real 1Hz to 50kHz 1kHz
Explanation Sending the [:SOURce[<n>]]:MOD:TYPe command can set the modulation type.
AM: amplitude modulation. The amplitude of the carrier waveform varies with the
amplitude of the modulating waveform.
FM: frequency modulation. The frequency of the carrier waveform varies with the
amplitude of the modulating waveform.
Sending
[:SOURce[<n>]]:MOD:AM:INTernal:FUNCtion or
[:SOURce[<n>]]:MOD:FM:INTernal:FUNCtion can selelct Sine, Square, Triangle, or
Noise as the modulating waveform.
Return
Format
The query returns an integer.
Example
:MOD:AM:INTernal:FREQuency 100 /*Set the modulating waveform frequency of AM
of source 1 to 100Hz*/
:MOD:AM:INTernal:FREQuency? /*The query returns 100*/