beautypg.com

Source[]][:mod]:pwm:internal:function – RIGOL DG1000Z Series User Manual

Page 160

background image

RIGOL

Chapter 2 Command System

2-148

DG1000Z Programming Guide

[:SOURce[]][:MOD]:PWM:INTernal:FUNCtion

Syntax

[:SOURce[]][:MOD]:PWM:INTernal:FUNCtion

[:SOURce[]][:MOD]:PWM:INTernal:FUNCtion?

Description

Set the PWM modulation waveform of the specified channel.
Query the PWM modulation waveform of the specified channel.

Parameter

Name

Type

Range

Default

[]

Discrete

1|2

1

Discrete

SINusoid|SQUare|TRIangle|

RAMP|NRAMp|NOISe|USER

SINusoid

Explanation

 This command is only applicable to the internal modulation source

([:SOURce[]][:MOD]:PM:SOURce).

 When [:SOURce[]] or [] 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 of the specified
channel.

Return Format

The query returns SIN, SQU, TRI, RAMP, NRAMP, NOIS or USER.

Example

:SOUR1:PWM:INT:FUNC SQU /*Set the PWM modulation waveform of CH1 to

square*/

:SOUR1:PWM:INT:FUNC? /*Query the PWM modulation waveform of CH1 and

the query returns SQU*/

Related

Command

[:SOURce[]][:MOD]:PWM:SOURce