Source[<n>]]:frequency:span – RIGOL DG1000Z Series User Manual

Page 109

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-97

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

Syntax

[:SOURce[<n>]]:FREQuency:SPAN {<frequency>|MINimum|MAXimum}

[:SOURce[<n>]]:FREQuency:SPAN? [MINimum|MAXimum]

Description

Set the frequency span of the sweep function of the specified channel.
Query the frequency span of the sweep function of the specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<frequency>

Real

The frequency range of the

current waveform of the

specified channel

900Hz

Explanation

 You can set the sweep boundaries via the center frequency and frequency

span (

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

). The ranges of the center

frequency and frequency span of different sweep waveforms are different and

the center frequency and frequency span affect each other. Define the

minimum frequency of the current waveform as

min

F

, the maximum frequency

as

max

F

,

2

/

)

(

max

min

F

F

F

m

+

=

. The range of the center frequency (defined as

center

F

) is

min

F

to

max

F

. The range of the frequency span (defined as

span

F

)

is affected by the center frequency. When the center frequency is lower than

m

F

, the range of the frequency span is

)

(

2

min

F

F

center

×

±

; when the center

frequency is greater than

m

F

, the range of the frequency span is

)

(

2

max

center

F

F

×

±

.

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

parameters of CH1 by default.

 The start frequency, stop frequency, center frequency and frequency span

fulfills the following relation.

|)

(|

stop

start

center

F

F

F

+

=

;

|)

(|

start

stop

span

F

F

F

=

Wherein,

center

F

——center frequency;

span

F

——

frequency span;

start

F

——

start frequency;

stop

F

——

stop frequency.

 After the “Frequency Span” is modified, the signal generator will output the

sweep waveform from the specified “Start Frequency”. In large-scale sweep,

the amplitude characteristic of the output signal might change.

Return Format

The query returns the frequency span in scientific notation with 7 effective digits,

for example, 8.000000E+02 (the frequency span is 800Hz).

Example

:SOUR1:FREQ:SPAN 800 /*Set the frequency span of the sweep function of

CH1 to 800Hz*/

:SOUR1:FREQ:SPAN? /*Query the frequency span of the sweep function of

CH1 and the query returns 8.000000E+02*/

Related

Command

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

Advertising