Source[<n>]]:function:pulse:hold, Source[<n>]]:function:pulse:period – RIGOL DG1000Z Series User Manual

Page 115

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-103

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

Syntax

[:SOURce[<n>]]:FUNCtion:PULSe:HOLD {WIDTh|DCYCle}

[:SOURce[<n>]]:FUNCtion:PULSe:HOLD?

Description

Set the highlighted item of the specified channel to pulse width (WIDTh) or pulse

duty cycle (DCYCle).
Query the item (pulse width or pulse duty cycle) highlighted of the specified

channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

{WIDTh|DCYCle}

Discrete

WIDTh|DCYCle

DCYCle

Return Format

The query returns WIDT or DUTY.

Example

:SOUR1:FUNC:PULS:HOLD WIDT /*Set the highlighted item of CH1 to pulse

width*/

:SOUR1:FUNC:PULS:HOLD? /*Query the item (pulse width or pulse duty

cycle) highlighted of CH1 and the query

returns WIDT*/

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

Syntax

[:SOURce[<n>]]:FUNCtion:PULSe:PERiod {<seconds>|MINimum|MAXimum}

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

Description

Set the pulse period of the specified channel.
Query the pulse period of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<seconds>

Real

40ns to 1Ms (DG1062Z)

66.6ns to 1Ms (DG1032Z)

1ms

Explanation

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

parameters of CH1 by default.

 When the waveform type of the specified channel is changed

(

[:SOURce[<n>]]:APPLy?

), the instrument still uses the period if the period is

valid for the new waveform type; the instrument displays prompt message and

sets the period to the period lower limit of the new waveform type automatically

if the period is invalid for the new waveform type.

Return Format

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

example, 1.000000E-01 (the pulse period is 0.1s).

Example

:SOUR1:FUNC:PULS:PER 0.1 /*Set the pulse period of CH1 to 0.1s*/
:SOUR1:FUNC:PULS:PER? /*Query the pulse period of CH1 and the query

returns 1.000000E-01*/

Related

Command

[:SOURce[<n>]]:APPLy?

Advertising