Read-only
About Gain Compression

GetDataRe Method


Description

Reads the REAL part of the data acquired from any GCA sweep. Previously 2D sweep only.

Note: For 2D sweeps, the number of data points returned / freq may vary. Learn more.

 VB Syntax

data = gca.GetDataRe stim, dPoint, param

Variable

(Type) - Description

data

Variant array in which to store returned measurement data.

gca

A GainCompression (object)

stim

(NAGCAIndexSelect)

  • naFrequencySelect - for the specified frequency data point, returns all of the measured data for each power stimulus.

  • naPowerSelect - for the specified power data point, returns all of the measured data for each frequency stimulus.

dPoint

Data point (Frequency or Power) for which data is returned.

param

Parameter of data to return. Not case-sensitive. Choose from:

  • "pin"  - input power at each data point.

  • "pout" - output power at each data point.

  • "gain" - device gain (S21) at each data point.

  • "inputmatch" - input match (S11) at each data point.

  • "DeltaGain" - Measured Gain (watts) / Ref Gain (watts). Learn more.

  • "AI1" and "AI2" - ADC measurements at the specified compression level. Learn more.

Return Type

Variant Array

Default

Not Applicable

Examples

For the fifth frequency data point, returns 'Power Output' REAL data from all power stimulus values. If there are 30 power sweep points, 30 values are returned.

data = gca.GetDataRe naFrequencySelect, 5, "pout"

 

For the 30th stimulus power data point, returns 'Power Output' REAL data from all frequency stimulus values. If there are 201 frequency sweep points, 201 values are returned.

data = gca.GetDataRe naPowerSelect, 30, "pout"

Note: For 2D sweeps, the number of data points returned / freq may vary. Learn more.

C++ Syntax

HRESULT GetDataRe(tagNAGCAIndexSelect index_select, int index,BSTR data_name, VARIANT* pData);

Interface

IGainCompression