IviRFSigGen_ConfigureIQ

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureIQ

IviRFSigGenModulateIQ Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureIQ (ViSession vi, ViInt32 source, ViBoolean swapEnabled);

Purpose

This function configures the signal generator to apply IQ (vector) modulation to the RF output signal.

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

source ViInt32 Specifies the source of the signal that the signal generator uses for IQ modulation. The driver uses this value to set the IVIRFSIGGEN_ATTR_IQ_SOURCE attribute.

Defined Values:

IVIRFSIGGEN_VAL_IQ_SOURCE_DIGITAL_MODULATION_BASE - The signal
generator uses the internally generated digital modulation
signal to apply IQ modulation to the output RF signal.

IVIRFSIGGEN_VAL_IQ_SOURCE_CDMA_BASE - The signal generator uses
the internally generated CDMA signal to apply IQ
modulation to the output RF signal.

IVIRFSIGGEN_VAL_IQ_SOURCE_TDMA_BASE - The signal generator uses
the internally generated TDMA signal to apply IQ
modulation to the output RF signal.

IVIRFSIGGEN_VAL_IQ_SOURCE_EXTERNAL - The signal
generator uses data from an external source for IQ
modulation.

IVIRFSIGGEN_VAL_IQ_SOURCE_ARB_GENERATOR - The signal
generator uses the internally generated Arb signal to apply
IQ modulation to the output RF signal.

Default Value: IVIRFSIGGEN_VAL_IQ_SOURCE_EXTERNAL

swapEnabled ViBoolean Enables the inverse phase rotation of the IQ signal by swapping the I and Q inputs. The driver uses this value to set the IVIRFSIGGEN_ATTR_IQ_SWAP_ENABLED attribute.

Valid Values:

VI_TRUE - The RF signal generator applies non-inverse phase rotation of the IQ signal.

VI_FALSE - The RF signal generator applies inverse phase rotation of the IQ signal.

Default Value: VI_FALSE

Return Values