Skip to content

NI RFmx LTE SlotPhase Configuration Functions

Dane Stull edited this page Feb 28, 2022 · 2 revisions

SlotPhase Configuration Functions

RFmxLTE_SlotPhaseCfgSynchronizationModeAndInterval

int32 __stdcall RFmxLTE_SlotPhaseCfgSynchronizationModeAndInterval (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 synchronizationMode, int32 measurementOffset, int32 measurementLength);

Purpose

Configures the synchronizationMode, measurementOffset, and measurementLength parameters of SlotPhase measurement.

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the instrument session. The RFmx obtains this parameter from the RFmxLTE_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 RFmxLTE_BuildSignalString) function to build the selector string.
synchronizationMode int32 Specifies whether the measurement is performed from the frame or the slot boundary.
RFMXLTE_VAL_SLOTPHASE_SYNCHRONIZATION_MODE_FRAME (0) The frame boundary in the acquired signal is detected, and the measurement is performed over the number of slots specified by the measurementLength parameter, starting at the offset from the boundary specified by the measurementOffset parameter. When you set the RFMXLTE_ATTR_TRIGGER_TYPE) attribute to RFMXLTE_VAL_TRIGGER_TYPE_DIGITAL_EDGE, the measurement expects a trigger at the frame boundary.
RFMXLTE_VAL_SLOTPHASE_SYNCHRONIZATION_MODE_SLOT (1) The slot boundary the acquired signal is detected, and the measurement is performed over the number of slots specified by the measurementLength parameter, starting at the offset from the boundary specified by the measurementOffset parameter. When you set the RFMXLTE_ATTR_TRIGGER_TYPE attribute to RFMXLTE_VAL_TRIGGER_TYPE_DIGITAL_EDGE, the measurement expects a trigger at any slot boundary.
measurementOffset int32 Specifies the measurement offset to skip from the synchronization boundary. The synchronization boundary is specified by the Synchronization Mode parameter. This value is expressed in slots.
measurementLength int32 Specifies the number of slots to be measured. This value is expressed in slots.

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

The general meaning of the status code is as follows:
Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally