NI WLAN Analysis Toolkit

niWLANA_SetScalarAttributeI32

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

int32 __stdcall niWLANA_SetScalarAttributeI32 (niWLANAnalysisSession session, char channelString[], niWLANA_Attr attributeID, int32 attributeValue);

Purpose

Sets the value of an niWLAN analysis 32-bit integer (int32) attribute.

Parameters

Input
Name Type Description
session niWLANAnalysisSession Specifies the niWLAN analysis session refnum.
channelString char[] If the attribute is channel-based, this parameter specifies the channel to which the attribute applies. If the attribute is not channel-based, set this parameter to "" (empty string) or NULL.
attributeID niWLANA_Attr Specifies the ID of an int32 niWLAN Analysis attribute.
attributeValue int32 Specifies the value to which you want to set the attribute.

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