Source[<n>]][:mod]:pwm:source – RIGOL DG1000Z Series User Manual

Page 161

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-149

[:SOURce[<n>]][:MOD]:PWM:SOURce

Syntax

[:SOURce[<n>]][:MOD]:PWM:SOURce {INTernal|EXTernal}

[:SOURce[<n>]][:MOD]:PWM:SOURce?

Description

Set the PWM modulation source of the specified channel to internal (INTernal) or

external (EXTernal) modulation source.
Query the PWM modulation source of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

{INTernal|EXTernal}

Discrete

INTernal|EXTernal

INTernal

Explanation

 DG1000Z can receive the modulation waveform from the internal or external

modulation source.

 When internal modulation source is selected, the modulation waveform can be

SINusoid, SQUare, TRIangle, RAMP, NRAMp, NOISe or USER and the default is

SINusoid. NOISe can be used as modulation waveform but cannot be used as

carrier waveform.

 When external modulation source is selected, the signal generator receives the

external modulating signal from the corresponding [Mod/Trig/FSK/Sync]

connector at the rear panel. At this point, the width deviation

(

[:SOURce[<n>]][:MOD]:PWM[:DEViation][:WIDTh]

) or duty cycle deviation

(

[:SOURce[<n>]][:MOD]:PWM[:DEViation]:DCYCle

) of the modulated waveform

is controlled by the ±5 V signal level of the connector. For example, if the width

deviation is set to 10s, +5V signal level corresponds to a 10s width variation.

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

parameters of CH1 by default.

Return Format

The query returns INT or EXT.

Example

:SOUR1:PWM:SOUR EXT /*Set the PWM modulation source of CH1 to external

modulation source*/

:SOUR1:PWM:SOUR? /*Query the PWM modulation source of CH1 and the

query returns EXT*/

Related

Commands

[:SOURce[<n>]][:MOD]:PWM[:DEViation]:DCYCle

[:SOURce[<n>]][:MOD]:PWM[:DEViation][:WIDTh]

Advertising