IviDmm_ConfigureTriggerSlope
IviDmmTriggerSlope Capability Group
C Function Prototype
ViStatus IviDmm_ConfigureTriggerSlope (ViSession vi, ViInt32 polarity);
Purpose
This function configures the polarity of the external trigger source of the DMM.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviDmm_init or IviDmm_InitWithOptions functions. The handle identifies a particular IVI session. |
triggerSlope | ViInt32 | Pass the polarity of the external trigger slope. The driver sets the IVIDMM_ATTR_TRIGGER_SLOPE attribute to this value. The DMM triggers on either the rising or the falling edge of the external trigger source, depending on the value of this attribute.
Defined Values: IVIDMM_VAL_POSITIVE (Default)—The driver triggers on the rising edge of the external trigger. IVIDMM_VAL_NEGATIVE—The driver triggers on the falling edge of the external trigger. |