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

Page 179

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-167

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

Syntax

[:SOURce[<n>]]:SWEep:STEP {<n>|MINimum|MAXimum}

[:SOURce[<n>]]:SWEep:STEP? [MINimum|MAXimum]

Description

Set the number of steps of the sweep of the specified channel.
Query the number of steps of the sweep of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<n>

Integer

2 to 1024

2

Explanation

 The number of steps refers to the number of steps required for the instrument to

sweep from the “Start Frequency” (

[:SOURce[<n>]]:FREQuency:STARt

) to the

“Stop Frequency” (

[:SOURce[<n>]]:FREQuency:STOP

). This command is only

applicable to the step sweep (

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

).

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

parameters of CH1 by default.

Return Format

The query returns the number of steps of the sweep in scientific notation with 7

effective digits, for example, 5.000000E+00 (the number of steps is 5).

Example

:SOUR1:SWE:STEP 5 /*Set the number of steps of the sweep of CH1 to 5*/
:SOUR1:SWE:STEP? /*Query the number of steps of the sweep of CH1 and the

query returns 5.000000E+00*/

Related

Commands

[:SOURce[<n>]]:FREQuency:STARt

[:SOURce[<n>]]:FREQuency:STOP
[:SOURce[<n>]]:SWEep:SPACing

Advertising