IviRFSigGen_ConfigurePulseExternalTrigger
IviRFSigGenPulseGenerator Capability Group
C Function Prototype
ViStatus IviRFSigGen_ConfigurePulseExternalTrigger (ViSession vi, ViInt32 externalSlope, ViReal64 delay);
Purpose
This function configures the triggering of the pulse generator within the RF signal generator. This function specifies the external trigger slope and the delay time for starting the pulse after the trigger pulse.
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 |
externalSlope | ViInt32 | Specifies whether the event occurs on the rising or falling edge of the input signal. The driver uses this value to set the IVIRFSIGGEN_ATTR_PULSE_EXTERNAL_TRIGGER_SLOPE attribute. Defined Values: IVIRFSIGGEN_VAL_PULSE_EXTERNAL_TRIGGER_SLOPE_POSITIVE - Enables rising edge triggering. IVIRFSIGGEN_VAL_PULSE_EXTERNAL_TRIGGER_SLOPE_NEGATIVE - Enables falling edge triggering. Default Value: IVIRFSIGGEN_VAL_PULSE_EXTERNAL_TRIGGER_SLOPE_POSITIVE |
delay | ViReal64 | Specifies the delay for starting the output pulse with respect to the trigger input.
Units: Seconds Default Value: 0.0 |