Configures the reference waveform array for a MIMO measurement when you set the RFMXWLAN_ATTR_OFDMMODACC_EVM_REFERENCE_DATA_SYMBOLS_MODE attribute to Reference Waveform.

Syntax

int32 __stdcall RFmxWLAN_OFDMModAccCfgNReferenceWaveformsSplit(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 x0[], float64 dx[], float32 referenceWaveformI[], float32 referenceWaveformQ[], int32 referenceWaveformSize[], int32 arraySize)

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.

x0[in]float64[]

This parameter specifies the starting time of the reference waveform. This value is expressed in seconds.

dx[in]float64[]

This parameter specifies the sampling interval of the reference waveform. This value is expressed in seconds.

referenceWaveformI[in]float32[]

This parameter specifies an array of waveform samples of the reference waveform.

referenceWaveformQ[in]float32[]

This parameter specifies an array of waveform samples of the reference waveform.

referenceWaveformSize[in]int32[]

Specifies the size of reference waveform.

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

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors