Source:mod commands, Source[<n>]]:mod[:state, Source:mod commands -151 – RIGOL DG1000Z Series User Manual

Page 163

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-151

:SOURce:MOD Commands

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

Syntax

[:SOURce[<n>]]:MOD[:STATe] {ON|1|OFF|0}

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

Description

Turn on or off the modulation function of the specified channel.
Query the on/off status of the modulation function of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

{ON|1|OFF|0}

Bool

ON|1|OFF|0

OFF

Explanation

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

parameters of CH1 by default.

 If the sweep function (

[:SOURce[<n>]]:SWEep:STATe

) or burst function

(

[:SOURce[<n>]]:BURSt[:STATe]

) is currently enabled, it will be disabled

automatically when the modulation function is turned on.

 If the harmonic function is currently enabled

(

[:SOURce[<n>]]:HARMonic[:STATe]

), the modulation function cannot be turned

on (namely the harmonic cannot be modulated).

 The modulation function is not available in the sample rate mode.

Return Format

The query returns ON or OFF.

Example

:SOUR1:MOD ON /*Turn on the modulation function of CH1*/
:SOUR1:MOD? /*Query the on/off status of the modulation function of CH1 and

the query returns ON*/

Related

Commands

[:SOURce[<n>]]:BURSt[:STATe]

[:SOURce[<n>]]:HARMonic[:STATe]

[:SOURce[<n>]]:SWEep:STATe

Advertising