RIGOL
DG900 Programming Guide
2-115
Return Format
The query returns the PWM modulation frequency in scientific notation, with 7 effective digits. For example,
1.02 (the PWM modulation frequency is 150 Hz).
Example
:SOUR1:PWM:INT:FREQ 150 /*Sets the PWM modulation frequency of CH1 to 150 Hz.*/
:SOUR1:PWM:INT:FREQ? /*Queries the PWM modulation frequency of CH1 and the query returns
1.02.*/
[:SOURce[<n>]][:MOD]:PWM:INTernal:FUNCtion
Syntax
[:SOURce[<n>]][:MOD]:PWM:INTernal:FUNCtion
{SINusoid|SQUare|TRIangle|RAMP|NRAMp|NOISe|USER}
[:SOURce[<n>]][:MOD]:PWM:INTernal:FUNCtion?
Description
Sets the PWM modulation waveform of the specified channel.
Queries the PWM modulation waveform of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{SINusoid|SQUare|TRIangle|RAM
P|NRAMp|NOISe|USER}
Discrete
SINusoid|SQUare|TRIangle|RAMP|NR
AMp|NOISe|USER
SINusoid
Remarks
This command is only applicable to the internal modulation source
[:SOURce[<n>]][:MOD]:PWM:SOURce
).
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
SQUare: 50% duty cycle; TRIangle: 50% symmetry; RAMP: 100% symmetry; NRAMp: 0% symmetry;
USER: the arbitrary waveform selected for the specified channel.
Return Format
The query returns SIN, SQU, TRI, RAMP, NRAM, NOIS, or USER.
Example
:SOUR1:PWM:INT:FUNC SQU /*Sets the PWM modulation waveform of CH1 to Square.*/
:SOUR1:PWM:INT:FUNC? /*Queries the PWM modulation waveform of CH1 and the query returns
SQU.*/
[:SOURce[<n>]][:MOD]:PWM:SOURce
Syntax
[:SOURce[<n>]][:MOD]:PWM:SOURce {INTernal|EXTernal}
[:SOURce[<n>]][:MOD]:PWM:SOURce?
Description
Sets the PWM modulation source of the specified channel to internal (INTernal) or external (EXTernal)
modulation source.
Queries the PWM modulation source of the specified channel.
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......