Sets the symbol map that is used for digital demodulation measurements.

Syntax

int32 __stdcall RFmxDemod_DDemodSetSymbolMapSplit(niRFmxInstrHandle insturmentHandle, char selectorString[], int32 symbolMapType, NIComplexSingle symbolMapI[], NIComplexSingle symbolMapQ[], int32 arraySize[])

Parameters

NameDirectionTypeDescription
insturmentHandle[in]niRFmxInstrHandle

Specifies the RFmx session. You can obtain this parameter from the RFmxDemod_Initialize function.

selectorString[in]char[]

Comprises the signal name. If you do not specify the signal name, the default signal instance is used.

Example:

""

"signal::sig1"

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

symbolMapType[in]int32

Specifies whether the measurement uses the default symbol map or the map that you configure using this function.

Value

Description

RFMXDEMOD_VAL_DDEMOD_SYMBOL_MAP_TYPE_AUTO (0)

Uses a default symbol map.

RFMXDEMOD_VAL_DDEMOD_SYMBOL_MAP_TYPE_CUSTOM (1)

Uses the map that you specify.

symbolMapI[in]NIComplexSingle[]

Specifies the real part of symbol map used for demodulation.

symbolMapQ[in]NIComplexSingle[]

Specifies the imaginary part of symbol map used for demodulation.

arraySize[in]int32[]

Specifies the size of the array.

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

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors