beautypg.com

Source[1|2]:sweep:source – GW Instek AFG-2225 User Manual User Manual

Page 246

background image

AFG-2225 Series User Manual

246

Example

SOUR1:SWE:TIME?
+2.0000E+01

Returns the sweep time (20 seconds).

SOURce[1|2]:SWEep:SOURce

Source Specific
Command

Description

Sets or queries the trigger source as immediate
(internal), external or manual. Immediate (internal)
is the default trigger source. IMMediate will
constantly output a swept waveform. EXTernal
will output a swept waveform after each external
trigger pulse. Manual will ouput a swept
waveform after the trigger softkey is pressed.

Note

If the APPLy command was used to create the
waveform shape, the source is automatically set to
IMMediate.
The *OPC/*OPC? command/query can be used to
signal the end of the sweep.

Syntax

SOURce[1|2]: SWEep:SOURce {IMMediate|EXTernal|
MANual}

Example

SOUR1: SWE:SOUR EXT

Sets the sweep source to external.

Query Syntax

SOURce[1|2]: SWEep:SOURce?

Return Parameter IMM

Immediate

EXT

External

MANual

Manual

Example

SOUR1:SWE:SOUR?
IMM

The sweep source is set to immediate.