RFmx GSM CVI

Table of Contents

RFmxGSM_CfgFrequencyARFCN

  • Updated2024-10-14
  • 2 minute(s) read

RFmxGSM_CfgFrequencyARFCN

int32 __stdcall RFmxGSM_CfgFrequencyARFCN (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 linkDirection, int32 band, int32 ARFCN);

Purpose

Configures the center frequency from the absolute RF channel number (ARFCN), band, and the link direction.

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the instrument session. The RFmx driver obtains this parameter from the RFmxGSM_Initialize function.
selectorString char[] Specifies a selector string comprising of the signal name. If you do not specify the signal name, the default signal instance is used.
Example:
"signal::sig1"
You can use the RFmxGSM_BuildSignalString function to build the selector string.
linkDirection int32 Specifies the source of the signal to be measured.
RFMXGSM_VAL_LINK_DIRECTION_DOWNLINK (0) The source is a base transceiver station.
RFMXGSM_VAL_LINK_DIRECTION_UPLINK (1) The source is a mobile station.
band int32 Specifies the band of operation.
RFMXGSM_VAL_BAND_PGSM (0) The operation band is Primary GSM in the 900 MHz band.
RFMXGSM_VAL_BAND_EGSM (1) The operation band is Extended GSM in the 900 MHz band.
RFMXGSM_VAL_BAND_RGSM (2) The operation band is Railway GSM in the 900 MHz band.
RFMXGSM_VAL_BAND_DCS1800 (3) The operation band is GSM in the 1800 MHz band.
RFMXGSM_VAL_BAND_PCS1900 (4) The operation band is GSM in the 1900 MHz band.
RFMXGSM_VAL_BAND_GSM450 (5) The operation band is GSM in the 450 MHz band.
RFMXGSM_VAL_BAND_GSM480 (6) The operation band is GSM in the 480 MHz band.
RFMXGSM_VAL_BAND_GSM850 (7) The operation band is GSM in the 850 MHz band.
RFMXGSM_VAL_BAND_GSM750 (8) The operation band is GSM in the 750 MHz band.
RFMXGSM_VAL_BAND_TGSM810 (9) The operation band is terrestrial GSM in the 810 MHz band.
ARFCN int32 Specifies the ARFCN.

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

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience