IviSpecAn_ConfigureVideoTrigger

CVI/LabWindows IVI Class Driver

IviSpecAn_ConfigureVideoTrigger

IviSpecAnVideoTrigger Capability Group

C Function Prototype

ViStatus IviSpecAn_ConfigureVideoTrigger (ViSession vi, ViReal64 videoTriggerLevel, ViInt32 videoTriggerSlope);

Purpose

This function specifies the video level and polarity for video triggering. This is applicable when the trigger source is set to video.

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviSpecAn_init or IviSpecAn_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

videoTriggerLevel ViReal64 Specifies the level of the video signal to trigger an acquisition. The driver uses this value to set the IVISPECAN_ATTR_VIDEO_TRIGGER_LEVEL attribute.

Units: The units are specified by the IVISPECAN_ATTR_AMPLITUDE_UNITS attribute.

Default Value: 0.0

videoTriggerSlope ViInt32 Specifies the slope of the video signal to trigger an acquisition. The driver uses this value to set the IVISPECAN_ATTR_VIDEO_TRIGGER_SLOPE attribute.

Valid Values:
- IVISPECAN_VAL_VIDEO_TRIGGER_SLOPE_POSITIVE -
Sets positive slope.

- IVISPECAN_VAL_VIDEO_TRIGGER_SLOPE_NEGATIVE -
Sets positive slope.

Default value: IVISPECAN_VAL_VIDEO_TRIGGER_SLOPE_POSITIVE

Return Values