SkipTrigger Property

NI Vision for Visual Basic

SkipTrigger Property

Syntax

CWIMAQSignal.SkipTrigger

Data Type

Long

Purpose

Number of triggers to skip before capturing a line.

Remarks

The method ignores this property if CWIMAQSignal.Action is not cwimaqCaptureEveryLine.

Example

Private Sub Run_Click()
    Dim signal As CWIMAQSignal
    ' Add a signal
    Set signal = CWIMAQ1.Signals.Add
    
    ' Set the signal to capture every line
    ' after first three triggers on RTSI 0.
    signal.Action = cwimaqCaptureEveryLine
    signal.Line = cwimaqRTSI
    signal.Polarity = cwimaqActiveHigh
    signal.LineNumber = 0
    signal.SkipTrigger = 3
End Sub