Configures whether the values of the RFMXLTE_ATTR_NPUSCH_TONE_OFFSET, RFMXLTE_ATTR_NPUSCH_NUMBER_OF_TONES, and RFMXLTE_ATTR_NPUSCH_MODULATION_TYPE attributes for the NPUSCH channel are auto-detected by the measurement or specified by you.

Syntax

int32 __stdcall RFmxLTE_CfgAutoNPUSCHChannelDetectionEnabled(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 autoNPUSCHChannelDetectionEnabled)

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter specifies the RFmx session refnum. Instrument Handle In is obtained from the RFmxInstr_Initialize function.

selectorString[in]char

This parameter specifies a Selector String comprising of the signal name. If you do not specify the signal name, the default signal instance is used. The default is "" (empty string).
Example:
"signal::sig1"
You can use the RFmxLTE_BuildSignalString function to build the selector string.

autoNPUSCHChannelDetectionEnabled[in]int32

This parameter specifies whether the values of NPUSCH Tone Offset, NPUSCH Number of Tones, and NPUSCH Mod Type attributes are auto-detected by the measurement or specified by you. The default value is True.

Name

Value

Description

RFMXLTE_VAL_AUTO_NPUSCH_CHANNEL_DETECTION_ENABLED_FALSE

0 (0x0)

The measurement uses the values that you specify for the NPUSCH Tone Offset, NPUSCH Number of Tones, and NPUSCH Mod Type attributes.

RFMXLTE_VAL_AUTO_NPUSCH_CHANNEL_DETECTION_ENABLED_TRUE

1 (0x1)

The measurement uses the values of the NPUSCH Tone Offset, NPUSCH Number of Tones, and NPUSCH Mod Type attributes that are auto-detected.

Returns

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 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 RFmxLTE_GetError function.

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors