Read-only |
About Gain Compression |
Description |
Returns raw data at all frequency and power data points for any GCA sweep. Previously 2D sweep only.
Use the standard "get data" commands to return just the displayed data results (not the background sweeps). A compression parameter must be present. Learn more. |
VB Syntax |
data = gca.GetRaw2DData location, format, param |
Variable |
(Type) - Description |
data |
Variant array in which to store returned measurement data. |
gca |
A GainCompression (object) |
location |
(enum NADataStore) - Where the data you want is residing. Choose from: 0 - naRawData 1 - naCorrectedData |
format |
(enum NADataFormat) - Format in which you would like the data. It does not have to be the displayed format. Choose from: 0 - naDataFormat_LinMag 1 - naDataFormat_LogMag 2 - naDataFormat_Phase 3 - naDataFormat_Polar* 4 - naDataFormat_Smith* 5 - naDataFormat_Delay -- Not valid for this command. 6 - naDataFormat_Real 7 - naDataFormat_Imaginary 8 - naDataFormat_SWR 9 - naDataFormat_PhaseUnwrapped 10 - naDataFormat_InverseSmith * Specify Smith or Polar formats to obtain complex data pairs, which require a two-dimensional array varData (numpts, 2) to accommodate both real and imaginary data. All scalar formats return a single dimension varData(numpts). naDataFormat_Phase and naDataFormat_PhaseUnwrapped returns degrees. |
param |
(String) Parameter of data to return. Not case-sensitive. The specified parameter need NOT be displayed. However, a compression parameter must be present. Learn more. Choose from:
|
Return Type |
Variant Array |
Default |
Not Applicable |
Examples |
data = gca.GetRaw2DData naRawData, naDataFormat_Real, "pin" |
C++ Syntax |
HRESULT GetRaw2DData(tagNADataStore location, tagNADataFormat format, BSTR data_name, VARIANT* pData); |
Interface |
IGainCompression |