NI WLAN Analysis Toolkit

niWLANA_GetCurrentIterationOFDMDemodQuadratureSkewPerSubcarrierTrac

  • Updated2023-02-21
  • 1 minute(s) read

int32 __stdcall niWLANA_GetCurrentIterationOFDMDemodQuadratureSkewPerSubcarrierTrace( niWLANAnalysisSession session, char channelString[], float64 quadratureSkew[], int32 subcarrierIndices[], int32 dataArraySize, int32 *actualArraySize);

Purpose

Returns the quadrature skew per subcarrier number for each iteration when the toolkit processes the acquired burst. To use this function, you must set the NIWLANA_OFDM_DEMOD_ENABLED attribute to NIWLANA_VAL_TRUE and set either the NIWLANA_OFDM_DEMOD_ALL_TRACES_ENABLED attribute or the NIWLANA_OFDM_DEMOD_QUADRATURE_SKEW_PER_SUBCARRIER_TRACE_ENABLED attribute to NIWLANA_VAL_TRUE.

Parameters

Input
Name Type Description
session niWLANAnalysisSession Specifies the niWLAN analysis session refnum.
channelString char[] Specifies the WLAN channel for which you want to fetch the measurement.
dataArraySize int32 Specifies the number of elements in the data array.
Output
Name Type Description
quadratureSkew float64[] Returns an array of the quadrature skew value at subcarriers whose indices are given by the subcarriers indices sub-parameter. This value is expressed in degrees.
subcarrierIndices int32[] Returns an array of the indices of the subcarriers.
actualArraySize int32* Returns the number of elements in the quadratureSkew and subcarrierIndices arrays. If the arrays are not large enough to hold all the samples, the function returns an error and this parameter returns the minimum expected size of the output arrays.

Return Value

Name Type Description
status int32 Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an niWLAN function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the niWLANA_GetErrorString function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience