IviRFSigGen_ConfigureDigitalModulationBaseClockSource

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureDigitalModulationBaseClockSource

IviRFSigGenDigitalModulationBase Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureDigitalModulationBaseClockSource (ViSession vi, ViInt32 source, ViInt32 type);

Purpose

This function configures the DigitalModulationBase clock source.

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 clock signal used to generate the digital modulation according to the selected standard. The driver uses this value to set the IVIRFSIGGEN_ATTR_DIGITAL_MODULATION_BASE_CLOCK_SOURCE attribute.

Defined Values:
IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_CLOCK_SOURCE_INTERNAL
- The internal clock generator is used.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_CLOCK_SOURCE_EXTERNAL
- A connected external clock generator (bit or symbol clock frequency) is used.

Default Value:
IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_CLOCK_SOURCE_INTERNAL

type ViInt32 Specifies the type of the external clock signal used to generate the digital modulation. This value is used only if the IVIRFSIGGEN_ATTR_DIGITAL_MODULATION_BASE_CLOCK_SOURCE attribute is set to External. The driver uses this value to set the IVIRFSIGGEN_ATTR_DIGITAL_MODULATION_BASE_EXTERNAL_CLOCK_TYPE attribute.

Defined Values:
IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_EXTERNAL_CLOCK_TYPE_BIT
- The external clock frequency is equal to the bit clock frequency of the digital modulation.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_EXTERNAL_CLOCK_TYPE_SYMBOL
- The external clock frequency is equal to the symbol clock frequency of the digital modulation.

Default Value:
IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_EXTERNAL_CLOCK_TYPE_BIT

Return Values