Configures the symbol map that you use during measurements.

Syntax

int32 __stdcall RFmxDemod_DDemodCfgSymbolMap(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 symbolMapType, NIComplexSingle symbolMap[], int32 arraySize)

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 comprises 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 RFmxDemod_BuildSignalString function to build the Selector String.

symbolMapType[in]int32

This parameter specifies whether the measurement uses the default symbol map or the map that you configure using the RFmxDemod DDemod Configure Symbol Map function.

Name

Value

Description

RFMXDEMOD_VAL_DDEMOD_SYMBOL_MAP_TYPE_AUTO

0 (0x0)

Uses a default symbol map.

RFMXDEMOD_VAL_DDEMOD_SYMBOL_MAP_TYPE_CUSTOM

1 (0x1)

Uses the map that you specify using the RFmxDemod_DDemodCfgSymbolMap function .

symbolMap[in]NIComplexSingle[]

This parameter specifies the custom symbol map.

arraySize[in]int32

Specifies the size of the array. Set the arraySize parameter to 0 to get the size of all the arrays in the actualArraySize parameter.

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