IviScope_ConfigureAcLineTriggerSlope

CVI/LabWindows IVI Class Driver

IviScope_ConfigureAcLineTriggerSlope

IviScopeAcLineTrigger Capability Group

C Function Prototype

ViStatus IviScope_ConfigureAcLineTriggerSlope (ViSession vi, ViInt32 acLineSlope);

Purpose

This function configures the slope of the AC Line trigger.

This function affects instrument behavior only if the trigger type is IVISCOPE_VAL_AC_LINE_TRIGGER. Call the IviScope_ConfigureTrigger function to set the trigger type before calling this function.

Parameters

Name Type Description
vi ViSession The instrument handle that you obtain from the IviScope_init or IviScope_InitWithOptions functions. The handle identifies a particular IVI session.
acLineSlope ViInt32 Specifies whether an oscilloscope triggers on a zero crossing with a positive, negative, or either slope of the network supply voltage. The driver uses this value to set the IVISCOPE_ATTR_AC_LINE_TRIGGER_SLOPE attribute.

Return Values