Instructions
Chapter 2 Command System RIGOL
MSO5000-E Programming Guide 2-137
[:SOURce[<n>]]:PULSe:DCYCle
Syntax [:SOURce[<n>]]:PULSe:DCYCle <percent>
[:SOURce[<n>]]:PULSe:DCYCle?
Description Sets or queries the duty cycle of the pulse output from the specified function/arbitrary
waveform generator channel, i.g. the ratio of high level to a pulse period.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
{1}
1
<percent>
Real
10 to 90
20
Remarks Duty cycle is defined as the percentage that the high level takes up in the whole pulse
period.
T
t
Duty Cycle=
t
/T
*100
%
Return
Format
The query returns the current duty cycle in scientific notation.
Example
:PULSe:DCYCle 50 /*Sets the duty cycle of GI pulse to 50%.*/
:PULSe:DCYCle? /*The query returns 5.000000E+1.*/
[:SOURce[<n>]]:MOD:TYPE
Syntax [:SOURce[<n>]]:MOD:TYPE <type>
[:SOURce[<n>]]:MOD:TYPE?
Description Sets or queries the modulation type of the specified function/arbitrary waveform
generator channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
{1}
1
<type>
Discrete
{AM|FM|FSK}
AM
Remarks
AM: Amplitude Modulation. The amplitude of the carrier waveform changes with the
amplitude of the modulating waveform.
FM: Frequency Modulation. The frequency of the carrier waveform changes with the
the modulating waveform.
FSK: Frequency-shift Keying Modulation. Control the carrier frequency changes with
the digital signal.
The Sine, Square, Ramp, Built-in Waveform, or Non-DC signal's arbitrary waveforms
can be regarded as carrier waveforms.
You can select Sine, Square, Triangle, or Noise as the modulating waveforms.
Return
Format
The query returns AM, FM, or FSK.
Example
:MOD:TYPE AM /*Sets the modulation type of GI to AM.*/
:MOD:TYPE? /*The query returns AM.*/










