Configures EVM unit for the measurement.

Syntax

int32 __stdcall RFmxWLAN_DSSSModAccCfgEVMUnit(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 evmUnit)

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter specifies the RFmx session refnum. Instrument Handle In is obtained from the RFmxInstr_Initialize function or the RFmxInstr_InitializeFromNIRFSASessionArray 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 value is "" (empty string).

Example:

""

"signal::sig1"

You can use the RFmxWLAN_BuildSignalString function to build the selector string.

evmUnit[in]int32

This parameter specifies the unit for the EVM results. The default value is Percentage.

Name

Value

Description

RFMXWLAN_VAL_DSSSMODACC_EVM_UNIT_PERCENTAGE

0 (0x0)

Returns the EVM results as a percentage.

RFMXWLAN_VAL_DSSSMODACC_EVM_UNIT_DB

1 (0x1)

Returns the EVM results in dB.

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

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors