Configures the expected carrier frequency of the RF signal to be acquired using Channel Number and Standard parameters.

Syntax

int32 __stdcall RFmxBT_CfgFrequencyChannelNumber(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 standard, int32 channelNumber)

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter specifies the RFmx session refnum. This parameter 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 value is "" (empty string).
Examples:
""
"signal::sig1"
You can use the RFmxBT_BuildSignalString function to build the selector string.

standard[in]int32

This parameter specifies the signal to which the Bluetooth physical layer belongs. The default value is BR/EDR.

Name (Value)

Description

BR/EDR (0)

Specifies that the signal belongs to Basic Rate (BR) or Enhanced Data Rate (EDR) PHY.

LE (1)

Specifies that the signal belongs to Low Energy (LE) PHY.

LE-CS (2)

Specifies that the signal belongs to Low Energy - Channel Sounding (LE-CS) PHY.

channelNumber[in]int32

This parameter specifies the RF channel number of the signal generated by the device under test (DUT), as defined in the Bluetooth specification. This parameter is applicable when you enable the ACP measurement and when you set the RFMXBT_ATTR_ACP_OFFSET_CHANNEL_MODE attribute to In-band. The default value is 0.

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

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors