Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

niWLANG_ClearDatabase

NI WLAN Generation Toolkit 17.0 Help

Edition Date: May 2017

Part Number: 373725G-01

»View Product Info
Download Help (Windows Only)

int32 __stdcall niWLANG_RFSGClearDatabase (ViSession rfsgSession, char channelString[], char waveformName[]);

Purpose

Clears the attributes stored in the RFSG database and clears the waveforms from the NI RF vector signal generator memory.

This function clears the waveforms and the attributes of the waveforms that you specified in the waveformName parameter. If you do not set the waveformName parameter or set it to "" (empty string), this function clears all the waveforms and their attributes.

Parameters

Input
Name Type Description
rfsgSessions ViSession[] Specifies a reference to an NI-RFSG instrument session. This parameter is obtained from the niRFSG_init or niRFSG_InitWithOptions functions and identifies a particular instrument session.
channelString char[] Set this parameter to "" (empty string) or NULL.
waveformName char[] Specifies the names of the waveforms to clear. If you set this parameter as empty, the function clears all the waveforms and their attributes.

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

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit