Write/Read
About Gain Compression

NumberOfPowerPoints Property


Description

Set and read the number of data points in each power sweep. Applies ONLY to 2D acquisition modes.

 VB Syntax

gca.NumberOfPowerPoints = value

Variable

(Type) - Description

gca

A GainCompression (object)

value

(integer) - Power points.  Do not exceed the max number of points.

For 2D sweeps, total = frequency x power. Max = 20,001

For Smart sweep, total = frequency. Max = 10,000.

Return Type

Integer

Default

26

Examples

gca.NumberOfPowerPoints = 31 'Write

pwrPts = gca.NumberOfPowerPoints 'Read

C++ Syntax

HRESULT get_NumberOfPowerPoints(int* pVal)

HRESULT put_NumberOfPowerPoints(int newVal)

Interface

IGainCompression