Write/Read
About Sweep Types

SweepType Property


Description

Sets and returns the type of sweep. First set SweepType, then set sweep parameters such as frequency or power settings.

 VB Syntax

object.SweepType = value

Variable

(Type) - Description

object

One of the following:

value

(enum NASweepTypes) - Choose from:

0 - naLinearSweep

1 - naLogSweep

2 - naPowerSweep

3 - naCWTimeSweep

4 - naSegmentSweep

5 - naPhaseSweep

Note: Sweep type cannot be set to Segment sweep if there are no segments turned ON. A segment is automatically turned ON when a application is created.

Return Type

Long Integer

Default

naLinearSweep

Examples

chan.SweepType = naPowerSweep 'Write

swptyp = chan.SweepType 'Read

C++ Syntax

HRESULT get_SweepType(tagNASweepTypes* pVal)

HRESULT put_SweepType(tagNASweepTypes newVal)

Interface

IChannel

|CalSet3

IFOMRange


Last Modified:

3-Dec-2010

Added phase sweep

6-May-2010

Added sweep type note.

8-Mar-2007

Added FOMRange