IviRFSigGen_ConfigureTDMAClockSource

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureTDMAClockSource

IviRFSigGenTDMABase Capability Group

C Function Prototype

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

Purpose

This function configures the TDMA 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_TDMA_CLOCK_SOURCE attribute.

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

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

Default Value:
IVIRFSIGGEN_VAL_TDMA_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_TDMA_CLOCK_SOURCE attribute is set to External.

Type is ignored if Source is set to Internal.

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

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

Default Value:
IVIRFSIGGEN_VAL_TDMA_EXTERNAL_CLOCK_TYPE_BIT

Return Values