IviRFSigGen_ConfigureIQImpairment

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureIQImpairment

IviRFSigGenIQImpairment Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureIQImpairment (ViSession vi, ViReal64 iOffset, ViReal64 qOffset, ViReal64 ratio, ViReal64 skew);

Purpose

This function configures the settings that simulate or correct impairment for the signal generator's IQ modulation. These settings are only used if the IVIRFSIGGEN_ATTR_IQ_IMPAIRMENT_ENABLED attribute is set to VI_TRUE.

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

iOffset ViReal64 Specifies an origin offset voltage to the I signal. The range of allowable values is -100% to +100%. The driver uses this value to set the IVIRFSIGGEN_ATTR_IQ_I_OFFSET attribute.

Units: Percent (%)

Default Value: 0.0

qOffset ViReal64 Specifies an origin offset voltage to the Q signal. The range of allowable values is -100% to +100%. The driver uses this value to set the IVIRFSIGGEN_ATTR_IQ_Q_OFFSET attribute.

Units: Percent (%)

Default Value: 0.0

ratio ViReal64 Specifies the gain imbalance between the I and Q channels. For no imbalance this value is set to 0 %. The driver uses this value to set the IVIRFSIGGEN_ATTR_IQ_RATIO attribute.

Units: Percent (%)

Default Value: 0.0

skew ViReal64 Specifies the adjustment of the phase angle between the I and Q vectors. If this skew is zero, the phase angle is 90 degrees. The driver uses this value to set the IVIRFSIGGEN_ATTR_IQ_SKEW attribute.

Units: Degrees

Default Value: 0.0

Return Values