Write/Read
About SA Application

DCSourceSweepState

Description

Set and read the ON/OFF state of the DC sources. If ON, the DC sources sweep between their start and stop voltages.

VB Syntax

sa.DCSourceSweepState = value

Variable

(Type) - Description

sa

A SpectrumAnalyzer (object)

value

(Boolean) Choose from:

0 - OFF - DC sweep OFF.

1 - ON - DC sweep ON.

Learn about these settings

Return Type

Boolean

Default

0

Examples

sa.DCSourceSweepState = OFF   Write

value = sa.DCSourceSweepState 'Read

C++ Syntax

HRESULT put_DCSourceSweepState(VARIANT_BOOL bEnable);

HRESULT get_DCSourceSweepState(VARIANT_BOOL* bEnable);

Interface

ISpectrumAnalyzer