IviRFSigGen_ConfigureArbExternalTriggerSlope

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureArbExternalTriggerSlope

IviRFSigGenArbGenerator Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureArbExternalTriggerSlope (ViSession vi, ViInt32 slope);

Purpose

This function configures the trigger event to occur on the rising or falling edge of the input signal.

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_ARB_EXTERNAL_TRIGGER_SLOPE attribute.

Defined Values:

IVIRFSIGGEN_VAL_ARB_EXTERNAL_TRIGGER_SLOPE_POSITIVE
- Enables rising edge triggering.

IVIRFSIGGEN_VAL_ARB_EXTERNAL_TRIGGER_SLOPE_NEGATIVE
- Enables falling edge triggering.

Default Value: IVIRFSIGGEN_VAL_ARB_EXTERNAL_TRIGGER_SLOPE_POSITIVE

Return Values