IviRFSigGen_ConfigureCDMATriggerSource

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureCDMATriggerSource

IviRFSigGenCDMABase Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureCDMATriggerSource (ViSession vi, ViInt32 source);

Purpose

This function configures the CDMA trigger source for starting or synchronizing the generation of the channel codings.

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 trigger signal that starts the channel coding generation. The driver uses this value to set the IVIRFSIGGEN_ATTR_CDMA_TRIGGER_SOURCE attribute.

Defined Values:

IVIRFSIGGEN_VAL_CDMA_TRIGGER_SOURCE_IMMEDIATE - The
CDMA generator system does not wait for a trigger.
Each channel coding is run continuously.

IVIRFSIGGEN_VAL_CDMA_TRIGGER_SOURCE_EXTERNAL - Each
channel coding is started with an external signal.

IVIRFSIGGEN_VAL_CDMA_TRIGGER_SOURCE_SOFTWARE - Each
channel coding is started with a software programmable
trigger.

Default Value: IVIRFSIGGEN_VAL_CDMA_TRIGGER_SOURCE_IMMEDIATE

Return Values