RFmx WCDMA C

Table of Contents

RFmxWCDMA_ModAccCfgSynchronizationModeAndInterval

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

RFmxWCDMA_ModAccCfgSynchronizationModeAndInterval

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

Purpose

Configures the synchronization mode, measurement offset, and measurement length of the ModAcc measurement.

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the instrument session. The RFmx driver obtains this parameter from the RFmxWCDMA_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 RFmxWCDMA_BuildSignalString function to build the selector string.
synchronizationMode int32 Specifies whether the measurement is performed from the frame, slot, or symbol boundary.
RFMXWCDMA_VAL_MODACC_SYNCHRONIZATION_MODE_FRAME (0) The frame boundary is detected, and the measurement is performed over the number of slots expressed by the Measurement Length parameter starting at Measurement Offset slots from the frame boundary.
RFMXWCDMA_VAL_MODACC_SYNCHRONIZATION_MODE_SLOT (1) The slot boundary is detected and the measurement is performed over the number of slots expressed by the Measurement Length parameter starting at Measurement Offset slots from the slot boundary.
RFMXWCDMA_VAL_MODACC_SYNCHRONIZATION_MODE_ARBITRARY (2) The symbol boundary is detected and the measurement is performed over the number of slots expressed by the Measurement Length parameter starting at Measurement Offset slots from the symbol boundary.
RFMXWCDMA_VAL_MODACC_SYNCHRONIZATION_MODE_MARKER (3) The measurement is performed over the number of slots expressed by the Measurement Length parameter starting at Measurement Offset slots from the Trigger. This is the fastest way to do a ModAcc measurement. This mode requires the RFMXWCDMA_ATTR_TRIGGER_TYPE attribute to be set to digital and the trigger must occur at the start of the frame. For more information about Marker mode, refer to Marker Mode.
measurementOffset int32 Specifies the measurement offset to skip from the synchronization boundary. This value is expressed in slots. The synchronization boundary is specified by the synchronizationMode parameter.
Valid values are [0, (15 - ModAcc Measurement Length)]. The sum of the ModAcc measurement offset and ModAcc measurement length must be less than or equal to 15.
measurementLength int32 Specifies the duration for the modulation accuracy measurement. This value is expressed in slots.
Valid values are [1,(15 - ModAcc Measurement Offset)]. The sum of the ModAcc measurement offset and ModAcc measurement length must be less than or equal to 15.

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 RFmxWCDMA_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