IviRFSigGen_ConfigureCDMAExternalTriggerSlope
IviRFSigGenCDMABase Capability Group
C Function Prototype
ViStatus IviRFSigGen_ConfigureCDMAExternalTriggerSlope (ViSession vi, ViInt32 slope);
Purpose
This function configures the trigger event to occur on the rising or falling edge of the input signal. This setting is used only if IVIRFSIGGEN_ATTR_CDMA_TRIGGER_SOURCE is set to External.
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 |
slope | ViInt32 | Specifies whether the trigger event occurs on the rising or falling edge of the input signal. The driver uses this value to set the IVIRFSIGGEN_ATTR_CDMA_EXTERNAL_TRIGGER_SLOPE attribute. Defined Values: IVIRFSIGGEN_VAL_CDMA_EXTERNAL_TRIGGER_SLOPE_POSITIVE - Enables rising edge triggering. IVIRFSIGGEN_VAL_CDMA_EXTERNAL_TRIGGER_SLOPE_NEGATIVE - Enables falling edge triggering. Default Value: IVIRFSIGGEN_VAL_CDMA_EXTERNAL_TRIGGER_SLOPE_POSITIVE |