IviRFSigGen_ConfigureALC

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureALC

IviRFSigGenALC Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureALC (ViSession vi, ViInt32 source, ViReal64 bandwidth);

Purpose

This function configures the ALC (Automatic Level Control) of the signal generator's RF output.

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 controlling voltage for the Automatic Level Control. The RF level at the sensor point is held constant. The driver uses this value to set the IVIRFSIGGEN_ATTR_ALC_SOURCE attribute.

Defined Values:
IVIRFSIGGEN_VAL_ALC_SOURCE_INTERNAL
- The ALC is controlled by an internal measurement source.

IVIRFSIGGEN_VAL_ALC_SOURCE_EXTERNAL
- The ALC is controlled by an external voltage.

Default Value: IVIRFSIGGEN_VAL_ALC_SOURCE_INTERNAL

bandwidth ViReal64 Specifies the bandwidth of Automatic Level Control (ALC). Narrow bandwidth impoves noise and allows AM with modulation frequencies beyond bandwidth frequency. The value is coerced to reflect the ability of the current RF signal generator. The driver uses this value to set the IVIRFSIGGEN_ATTR_ALC_BANDWIDTH attribute.

Units: Hertz

Default Value: 0.0

Return Values