RFmxInstr_CfgExternalAttenuationTable

RFmx WCDMA 19.1 Help

Edition Date: October 2019

Part Number: 375421H-01

»View Product Info

DOWNLOAD (Windows Only)


RFmx WCDMA 19.1 Help
RFmx WCDMA 20.0 Help

int32 __stdcall RFmxInstr_CfgExternalAttenuationTable( niRFmxInstrHandle instrumentHandle, char selectorString[], char tableName[], float64 frequency[], float64 externalAttenuation[], int32 arraySize );

Purpose

Stores the external attenuation table in the calibration plane specified by the selectorString parameter.
If there is only one table configured in any calibration plane, it is automatically selected as the active table.
Supported devices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5840/5841

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the instrument session. The RFmx driver obtains this parameter from the RFmxInstr_Initialize function.
selectorString char[] Specifies the calibration plane name in which the external attenuation table is stored. This input accepts the calibration plane name with the "calplane::" prefix. If you do not specify the calibration plane name, the default calibration plane instance is used. If you do not specify the calibration plane name, the default calibration plane instance is used. The default value is "" (empty string).
For PXIe-5830/5831 - Port names should also be specified along with Calplane names, so the valid selector string format is "calplane::/port::". If you specify "port::all", all ports are considered configured. Use RFmxInstr_GetAvailablePorts function to get the valid port names.

Example:
""
"calplane::plane0"
"calplane::plane0/port::if0"
"port::if0"
"calplane::plane0/port::all"
tableName char[] Specifies the name to be associated with external attenuation table within a calibration plane. Provide a unique name, such as "table1" to configure the table. The default value is "" (empty string), which refers to the default external attenuation table.
Example:
""
"table1"
frequency float64[] Specifies an array of frequencies in the external attenuation table. This value is expressed in Hz.
externalAttenuation float64[] Specifies an array of attenuations corresponding to the frequency specified by the frequency parameter. This value is expressed in dB.
arraySize int32 Specifies the size of the array.

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. Examine the status code from each call to an RFmx 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 RFmxInstr_GetError function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

WAS THIS ARTICLE HELPFUL?

Not Helpful