Source[<n>]]:function:pulse:dcycle – RIGOL DG1000Z Series User Manual

Page 114

Advertising
background image

RIGOL

Chapter 2 Command System

2-102

DG1000Z Programming Guide

[:SOURce[<n>]]:FUNCtion:PULSe:DCYCle

Syntax

[:SOURce[<n>]]:FUNCtion:PULSe:DCYCle {<percent>|MINimum|MAXimum}

[:SOURce[<n>]]:FUNCtion:PULSe:DCYCle? [MINimum|MAXimum]

Description

Set the pulse duty cycle of the specified channel.
Query the pulse duty cycle of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<percent>

Discrete

0.001% to 99.999%

50%

Explanation

 The pulse duty cycle is defined as the percentage that the pulse width

(

[:SOURce[<n>]]:FUNCtion:PULSe:WIDTh

) takes up in the pulse period

(

[:SOURce[<n>]]:FUNCtion:PULSe:PERiod

).

 The range of the pulse duty cycle is limited by the “minimum pulse width” and

“pulse period” (for the ranges of the “minimum pulse width” and “pulse period”,

please refer to the “Signal Characteristics” of the “Specifications” in

DG1000Z

User’s Guide

). The actual range of the pulse duty cycle is

)

2

1

(

100

100

min

min

pulse

w

dcycle

pulse

w

P

P

P

P

P

ч

Ч

Ч

<

ч

Ч

Wherein,

dcycle

P

——pulse duty cycle;

min

w

P

——minimum pulse width;

pulse

P

——

pulse period.

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

parameters of CH1 by default.

Return Format

The query returns the pulse duty cycle in scientific notation with 7 effective digits, for

example, 4.500000E+01 (the pulse duty cycle is 45%).

Example

:SOUR1:FUNC:PULS:DCYC 45 /*Set the pulse duty cycle of CH1 to 45%*/
:SOUR1:FUNC:PULS:DCYC? /*Query the pulse duty cycle of CH1 and the query

returns 4.500000E+01*/

Related

Commands

[:SOURce[<n>]]:FUNCtion:PULSe:PERiod

[:SOURce[<n>]]:FUNCtion:PULSe:WIDTh

Advertising