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

niWLANG_RFSGInsertRFBlankingMarkerPositions

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_RFSGInsertRFBlankingMarkerPositions (ViSession rfsgSession, char script[], char scriptOut[], int32 lenOfScriptOut, int32 *actualLenOfScriptOut);

Purpose

Configures the script you specify in the script parameter for RF blanking marker events.

For example, assume that the NIRFSG_ATTR_RF_BLANKING_SOURCE attribute is set to "marker0", the value of the NIWLANG_RF_BLANKING_MARKER_POSITIONS attribute is {10000, 12000}, and you configure the script parameter as shown in the following example:

script scriptName

generate waveformName

end script

The scriptOut parameter value is as shown in the following example:

script scriptName

generate waveformName marker0 (10000, 12000)

end script

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.
script char[] Specifies the script that controls waveform generation.
lenOfScriptOut int32 Specifies the size of the scriptOut array.
Output
Name Type Description
actualLenOfScriptOut int32* Returns the number of elements in the scriptOut array. If the array is not large enough to hold the output script, the function returns an error and this parameter returns the minimum expected size of the output array.
scriptOut char[] Returns the modified script which has RF blanking marker events configured.

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