NI RFmx LTE SlotPhase Attributes - ni/grpc-device GitHub Wiki

SlotPhase Attributes

RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies whether to enable the SlotPhase measurement.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXLTE_VAL_FALSE.

Get Function: RFmxLTE_SlotPhaseGetMeasurementEnabled
Set Function: RFmxLTE_SlotPhaseSetMeasurementEnabled

RFMXLTE_ATTR_SLOTPHASE_SYNCHRONIZATION_MODE

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies whether the measurement is performed from the frame or the slot boundary.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXLTE_VAL_SLOTPHASE_SYNCHRONIZATION_MODE_FRAME.

Get Function: RFmxLTE_SlotPhaseGetSynchronizationMode
Set Function: RFmxLTE_SlotPhaseSetSynchronizationMode
Values:
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 RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_LENGTH attribute, starting at the offset from the boundary specified by the RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_OFFSET attribute. When the RFMXLTE_ATTR_TRIGGER_TYPE attribute is set to Digital, the measurement expects a trigger at the frame boundary.
RFMXLTE_VAL_SLOTPHASE_SYNCHRONIZATION_MODE_SLOT (1) The slot boundary in the acquired signal is detected, and the measurement is performed over the number of slots specified by the RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_LENGTH attribute, starting at the offset from the boundary specified by the RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_OFFSET attribute. When the RFMXLTE_ATTR_TRIGGER_TYPE attribute is set to Digital, the measurement expects a trigger at any slot boundary.

RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_OFFSET

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies the measurement offset to skip from the synchronization boundary. This value is expressed in slots. The synchronization boundary is specified by the RFMXLTE_ATTR_SLOTPHASE_SYNCHRONIZATION_MODE attribute.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 0. Valid values are 0 to 19, inclusive.

Get Function: RFmxLTE_SlotPhaseGetMeasurementOffset
Set Function: RFmxLTE_SlotPhaseSetMeasurementOffset

RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_LENGTH

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies the number of slots to be measured. This value is expressed in slots.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 20.

Get Function: RFmxLTE_SlotPhaseGetMeasurementLength
Set Function: RFmxLTE_SlotPhaseSetMeasurementLength

RFMXLTE_ATTR_SLOTPHASE_EXCLUSION_PERIOD_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies whether to exclude some portions of the slots when calculating the phase. This attribute is applicable only when there is a power change at the slot boundary. Refer to section 6.5.2.1A of the 3GPP 36.521-1 specification for more information about the exclusion.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXLTE_VAL_SLOTPHASE_EXCLUSION_PERIOD_ENABLED_TRUE.

Get Function: RFmxLTE_SlotPhaseGetExclusionPeriodEnabled
Set Function: RFmxLTE_SlotPhaseSetExclusionPeriodEnabled
Values:
RFMXLTE_VAL_SLOTPHASE_EXCLUSION_PERIOD_ENABLED_FALSE (0) Phase is calculated on complete slots.
RFMXLTE_VAL_SLOTPHASE_EXCLUSION_PERIOD_ENABLED_TRUE (1) Phase is calculated on truncated slots. The power changes at the slot boundaries are detected by the measurement, and the defined 3GPP specification period is excluded from the slots being measured.

RFMXLTE_ATTR_SLOTPHASE_COMMON_CLOCK_SOURCE_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies whether the same Reference Clock is used for local oscillator and the digital-to-analog converter. When the same Reference Clock is used, the carrier frequency offset is proportional to Sample Clock error.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXLTE_VAL_SLOTPHASE_COMMON_CLOCK_SOURCE_ENABLED_TRUE.

Get Function: RFmxLTE_SlotPhaseGetCommonClockSourceEnabled
Set Function: RFmxLTE_SlotPhaseSetCommonClockSourceEnabled
Values:
RFMXLTE_VAL_SLOTPHASE_COMMON_CLOCK_SOURCE_ENABLED_FALSE (0) The Sample Clock error is estimated independently.
RFMXLTE_VAL_SLOTPHASE_COMMON_CLOCK_SOURCE_ENABLED_TRUE (1) The Sample Clock error is estimated from carrier frequency offset.

RFMXLTE_ATTR_SLOTPHASE_SPECTRUM_INVERTED

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies whether the spectrum of the measured signal is inverted. The inversion happens when the I and the Q components of the baseband complex signal are swapped.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXLTE_VAL_SLOTPHASE_SPECTRUM_INVERTED_FALSE.

Get Function: RFmxLTE_SlotPhaseGetSpectrumInverted
Set Function: RFmxLTE_SlotPhaseSetSpectrumInverted
Values:
RFMXLTE_VAL_SLOTPHASE_SPECTRUM_INVERTED_FALSE (0) The spectrum of the measured signal is not inverted.
RFMXLTE_VAL_SLOTPHASE_SPECTRUM_INVERTED_TRUE (1) The measured signal is inverted and the measurement corrects the signal by swapping the I and the Q components.

RFMXLTE_ATTR_SLOTPHASE_ALL_TRACES_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxLTE_SetAttributeI32
RFmxLTE_GetAttributeI32
Description: Specifies whether to enable the traces to be stored and retrieved after performing the SlotPhase measurement.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXLTE_VAL_FALSE.

Get Function: RFmxLTE_SlotPhaseGetAllTracesEnabled
Set Function: RFmxLTE_SlotPhaseSetAllTracesEnabled

Slotphase Results

RFMXLTE_ATTR_SLOTPHASE_RESULTS_MAXIMUM_PHASE_DISCONTINUITY

Data Type: float64
Access: read only
Functions: RFmxLTE_GetAttributeF64
Description: Returns the maximum value of phase difference at the slot boundaries within the RFMXLTE_ATTR_SLOTPHASE_MEASUREMENT_LENGTH. This values is expressed in degrees.

Use 'carrier(k)' or 'subblock(n)/carrier(k)' as the selector string to read this attribute.

Get Function: RFmxLTE_SlotPhaseGetResultsMaximumPhaseDiscontinuity
⚠️ **GitHub.com Fallback** ⚠️