Configures the wave to be measured in format a<receiver port number><source port number> or b<receiver port number><source port number>, where 'a' specifies that the receiver is reference receiver and 'b' specifies that the receiver is test receiver.

Syntax

int32 __stdcall RFmxVNA_WavesCfgWave(niRFmxInstrHandle instrumentHandle, char selectorString[], char wave[])

Remarks

Use "wave<n>" as the selector string to configure this function.

Supported devices: NI PXIe-5633

Parameters

NameDirectionTypeDescription
instrumentHandle[in]niRFmxInstrHandle

This parameter specifies the RFmx session refnum.

selectorString[in]char

This parameter specifies a selector string comprising of the signal name, result name, and wave number. If you do not specify the signal name, the default signal instance is used. If you do not specify the result name, the default result instance is used.

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

wave[in]char

This parameter specifies the wave to be measured in format a<receiver port number><source port number> or b<receiver port number><source port number>, where 'a' specifies that the receiver is reference receiver and 'b' specifies that the receiver is test receiver.

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

The general meaning of the status code is as follows:

Value

Meaning

0

Success

Positive Values

Warnings

Negative Values

Errors