Enables all the measurements that you specify in the Measurements parameter and disables all other measurements.

Syntax

int32 __stdcall RFmxLTE_SelectMeasurements(niRFmxInstrHandle instrumentHandle, char selectorString[], uInt32 measurements, int32 enableAllTraces)

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

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

measurements[in]uInt32

This parameter specifies the measurements to perform. You can specify one or more of the following measurements. The default value is an empty array.

Name (Value)

Description

ACP (0)

Enables the ACP measurement.

CHP (1)

Enables the CHP measurement.

ModAcc (2)

Enables the ModAcc measurement.

OBW (3)

Enables the OBW measurement.

SEM (4)

Enables the SEM measurement.

PVT (5)

Enables the PVT measurement.

SlotPhase (6)

Enables the SlotPhase measurement.

SlotPower (7)

Enables the SlotPower measurement.

enableAllTraces[in]int32

This parameter specifies whether to enable all traces for the selected measurement. The default value is FALSE.

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

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors