SCPI.SENSe(Ch).SWEep.GENeration

Object type

Property (Read-Write)

Syntax

SCPI.SENSe(Ch).SWEep.GENeration = Param

Param = SCPI.SENSe(Ch).SWEep.GENeration

Description

This command sets/gets the sweep mode of selected channel (Ch).

Variable

Parameter

Param

Description

Sweep mode

Data type

Character string type (String)

Range

Select from either of the following:

  • "STEPped": Sets the sweep mode to the stepped mode.

  • "ANALog": Sets the sweep mode to the swept mode.

  • "FSTepped": Sets the sweep mode to the stepped mode. This parameter is provided because of its command compatibility with E5070B/E5071B.

  • "FANalog": Sets the sweep mode to the swept mode. This parameter is provided because of its command compatibility with E5070B/E5071B.

Preset value

"STEPped"

Examples

Dim SwptMode As String
SCPI.SENSe(1).SWEep.GENeration = "anal"
SwptMode = SCPI.SENSe(1).SWEep.GENeration

Related objects

SCPI.SENSe(Ch).SWEep.TYPE

SCPI.SOURce(Ch).POWer.PORT(Pt).CORRection.STATe

SCPI.SOURce(Ch).POWer.LEVel.SLOPe.STATe

Equivalent key

Sweep Setup > Sweep Mode > Stepped|Swept

Equivalent SCPI command

Syntax

:SENSe{[1]-160}:SWEep:GENeration {STEPped|ANALog|FSTepped|FANalog}

:SENSe{[1]-160}:SWEep:GENeration?

Query response

{STEP|ANAL|FST|FAN}<newline><^END>

Example of use

10 OUTPUT 717;":SENS1:SWE:GEN ANAL"
20 OUTPUT 717;":SENS1:SWE:GEN?"
30 ENTER 717;A$