Source]:sweep:list:addlist, Source]:sweep:list:cpoint, Source]:sweep:list:delete – RIGOL DSG3000 Series User Manual

Page 104

Advertising
background image

RIGOL

Chapter 2

Command System

2-84

DSG3000 Programming Guide

[:SOURce]:SWEep:LIST:ADDList

Syntax

[:SOURce]:SWEep:LIST:ADDList <Freq>,<Ampt>,<Time>

Description

Add a row of sweep values.

Parameter

Name

Type

Range

Default

<Freq>

Real

9kHz to 6GHz

6GHz

<Ampt>

Real

-140dBm to 25dBm

-140dBm

<Time>

Real

20ms to 100s

500ms

Explanation

 When editing the sweep list, you can use this command to add a row of sweep

values. At this point, the total number of rows of the sweep list increases by

one.

 <Freq>: set the frequency of the sweep point.

 <Ampt>: set the amplitude corresponding to the frequency point.

 <Time>: set the duration of a sweep step.

Example

:SWEep:LIST:ADDList 1M,10,1s /*Add a row of sweep values: frequency

1MHz, amplitude 10dBm, dwell time 1s*/

[:SOURce]:SWEep:LIST:CPOint

Syntax

[:SOURce]:SWEep:LIST:CPOint?

Description

Query the total number of points in the current sweep list.

Explanation

You can use the

[:SOURce]:SWEep:LIST:DELete

command to delete a row of

sweep values or use the

[:SOURce]:SWEep:LIST:ADDList

command to add a row of

sweep values.

Return Format

The query returns the total number of sweep points in the sweep list, for example,

5.

Related

Commands

[:SOURce]:SWEep:LIST:DELete
[:SOURce]:SWEep:LIST:ADDList

[:SOURce]:SWEep:LIST:DELete

Syntax

[:SOURce]:SWEep:LIST:DELete <ListNum>

Description

Delete a row of sweep values.

Parameter

Name

Type

Range

Default

<ListNum>

Integer

1 to the total number of rows

in the current list

NULL

Explanation

 <ListNum> denotes the row number (namely the number of sweep points) in

the sweep list. The number of sweep points in the sweep list can not exceed

6001.

 You can use this command to reduce the number of rows in the list and you can

use the

[:SOURce]:SWEep:LIST:ADDList

command to increase the number of

rows in the list.

Example

:SWE:LIST:DEL 2 /*Delete the sweep values of the second row in the sweep list*/

Related

Commands

[:SOURce]:SWEep:LIST:ADDList
[:SOURce]:SWEep:LIST:CPOint

Advertising