Source:frequency commands, Source[<n>]]:frequency:center, Source:frequency commands -91 – RIGOL DG1000Z Series User Manual

Page 103

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-91

:SOURce:FREQuency Commands

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

Syntax

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

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

Description

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

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<frequency>

Real

Refer to the “Explanation”

550Hz

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 “Center Frequency” 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 center frequency in scientific notation with 7 effective digits, for

example, 5.000000E+02 (the center frequency is 500Hz).

Example

:SOUR1:FREQ:CENT 500 /*Set the center frequency of the sweep function of CH1

to 500Hz*/

:SOUR1:FREQ:CENT? /*Query the center frequency of the sweep function of

CH1 and the query returns 5.000000E+02*/

Related

Command

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

Advertising