Configures the duplexing technique of the signal being measured.

Syntax

int32 __stdcall RFmxLTE_CfgDuplexScheme(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 duplexScheme, int32 uplinkDownlinkConfiguration)

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.

duplexScheme[in]int32

This parameter specifies the duplexing technique of the signal being measured. The default value is FDD.

Name

Value

Description

RFMXLTE_VAL_DUPLEX_SCHEME_FDD

0 (0x0)

Specifies that the duplexing technique is frequency-division duplexing.

RFMXLTE_VAL_DUPLEX_SCHEME_TDD

1 (0x1)

Specifies that the duplexing technique is time-division duplexing.

RFMXLTE_VAL_DUPLEX_SCHEME_LAA

2 (0x2)

Specifies that the duplexing technique is license assisted access.

uplinkDownlinkConfiguration[in]int32

This parameter specifies the configuration of the LTE frame structure in the time division duplex (TDD) mode. To configure the LTE frame, refer to table 4.2-2 of the 3GPP TS 36.211 specification.
The default value is 0.

Name

Value

Description

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_0

0 (0x0)

The configuration of the LTE frame structure in the TDD duplex mode is 0.

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_1

1 (0x1)

The configuration of the LTE frame structure in the TDD duplex mode is 1.

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_2

2 (0x2)

The configuration of the LTE frame structure in the TDD duplex mode is 2.

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_3

3 (0x3)

The configuration of the LTE frame structure in the TDD duplex mode is 3.

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_4

4 (0x4)

The configuration of the LTE frame structure in the TDD duplex mode is 4.

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_5

5 (0x5)

The configuration of the LTE frame structure in the TDD duplex mode is 5.

RFMXLTE_VAL_UPLINK_DOWNLINK_CONFIGURATION_6

6 (0x6)

The configuration of the LTE frame structure in the TDD duplex mode is 6.

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