NI WLAN Analysis Toolkit

niWLANA_SetDSSSPowerRampMeasurementEnabled

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

int32 __stdcall niWLANA_SetDSSSPowerRampMeasurementEnabled (niWLANAnalysisSession session, char channelString[], int32 enable);

Purpose

Specifies whether to enable measurement of the power ramp-up or ramp-down time for 802.11b and 802.11g direct sequence spread spectrum (DSSS) signals.

To use the NIWLANA_DSSS_POWER_RAMP_MEASUREMENT_ENABLED attribute, you must set the NIWLANA_STANDARD attribute to NIWLANA_VAL_STANDARD_80211BG_DSSS. If you set the NIWLANA_STANDARD attribute to any other value and configure the NIWLANA_DSSS_POWER_RAMP_MEASUREMENT_ENABLED attribute, the toolkit returns an error.

Parameters

Input
Name Type Description
session niWLANAnalysisSession Specifies the niWLAN analysis session refnum.
channelString char[] Set this parameter to "" (empty string) or NULL.
enable int32 Specifies whether to enable measurement of the power ramp-up or ramp-down time. The default value is NIWLANA_VAL_FALSE.

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