Source[<n>]]:sweep:state – RIGOL DG1000Z Series User Manual

Page 178

Advertising
background image

RIGOL

Chapter 2 Command System

2-166

DG1000Z Programming Guide

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

Syntax

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

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

Description

Turn on or off the sweep function of the specified channel.
Query the on/off status of the sweep 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

 DG1000Z can output sweep waveform from a single channel or both of the two

channels at the same time. In the sweep mode, the signal generator outputs

from the start frequency to the stop frequency within the specified sweep time.

 DG1000Z supports linear, log and step sweeps and allow users to set the “Mark”

frequency, start hold, stop hold and return time. Besides, it supports internal,

external and manual trigger sources and can generate sweep output for sine,

square, ramp and arbitrary waveform (except DC) (does not support the sweep

signals for the pulse and noise in the basic waveforms).

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

parameters of CH1 by default.

 If the modulation (

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

) or burst

(

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

) function is currently turned on, it will be

turned off automatically when the sweep function is turned on.

 If the harmonic function (

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

) is currently

turned on, the sweep function cannot be turned on.

Return Format

The query returns ON or OFF.

Example

:SOUR1:SWE:STAT ON /*Turn on the sweep function of CH1*/
:SOUR1:SWE:STAT? /*Query the on/off status of the sweep function of CH1

and the query returns ON*/

Related

Commands

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

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

Advertising