NI WLAN Generation Toolkit 18.0 Help

Edition Date: October 2018

Part Number: 373725J-01

»View Product Info
Download Help (Windows Only)

int32 __stdcall niWLANG_LoadConfigurationFromFile (niWLANGenerationSession session, char filePath[], int32 reset);


Loads the attributes of a session saved in a file.


Name Type Description
session niWLANGenerationSession Specifies the niWLAN generation session.
filePath char[] Specifies the complete path to the file from which the toolkit loads the configuration.
reset int32 Specifies whether to reset all the attributes of the session before loading the settings from a file. The default value is NIWLANG_VAL_TRUE.

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 the function to determine if an error occurred.

To obtain a text description of the status code, call the niWLANG_GetErrorString function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors


Not Helpful