Signals Property (Read Only)

NI Vision for Visual Basic

Signals Property (Read Only)

Syntax

CWIMAQ.Signals

Data Type

CWIMAQSignals

Purpose

Collection of CWIMAQSignal objects that specify the signal I/O to use in the acquisition.

Remarks

Use this collection to drive signals and pulses on multiple signal I/O lines and to configure the acquisition to capture on a trigger.

Example

' Wait for a trigger to acquire an image
Private Sub Run_Click()
    ' Add a Signal object to the collection
    CWIMAQ1.Signals.Add.Name = "EXT0"
   
    ' Set the Signal object to Capture on external line 0
    CWIMAQ1.Signals("EXT0").Set cwimaqExternal, cwimaqCaptureStart, _
                                cwimaqActiveHigh, 0 

    ' Acquire the images
    CWIMAQ1.AcquireImage
End Sub

See Also

CWIMAQSignal