LineNumber Property

NI Vision for Visual Basic

LineNumber Property

Syntax

CWIMAQSignal.LineNumber

Data Type

Long

Purpose

Line number of the type of signal line being used.

Remarks

For example, setting SignalLineNumber to 0 and Signal to cwimaqRTSI specifies that CWIMAQSignal.Action will be performed on RTSI 0.

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

See Also

Line