Action Property
Syntax
CWIMAQSignal.Action
Data Type
You can use the following constants with this data type:
- cwimaqCaptureEveryImage—Wait for a trigger before capturing each image.
- cwimaqCaptureEveryLine—Wait for a trigger before capturing each line in an image.
- cwimaqCaptureRetrigger—Wait for a trigger before capturing the first image in the Images collection.
- cwimaqCaptureStart—Wait for a trigger before starting an acquisition.
- cwimaqCaptureStop—Acquire images until a trigger is received.
- cwimaqDriveAcquisitionDone—Generate a pulse on the signal line when the acquisition is finished.
- cwimaqDriveAcquisitionInProgress—Change the status of the signal line to asserted (True) while the acquisition is in progress.
- cwimaqDriveAsserted—Immediately drive a signal line asserted (True).
- cwimaqDriveFrameDone—Drive FrameDone on a signal line.
- cwimaqDriveFrameStart—Drive FrameStart on a signal line.
- cwimaqDriveHsync—Drive HSYNC on a signal line.
- cwimaqDrivePixelClock—Drive the pixel clock on a signal line.
- cwimaqDriveScaledEncoder—Drive the scaled encoder on a trigger line.
- cwimaqDriveUnasserted—Immediately drive a signal line unasserted (False).
- cwimaqDriveVsync—Drive VSYNC on a signal line.
- cwimaqGeneratePulse—Generate a user-defined pulse that you specified in the CWIMAQ.Pulses collection.
- cwimaqNoSignal—Do not drive a signal on a signal line.
- cwimaqRouteSignal—Route this signal to a line described by CWIMAQSignal.DestinationLine and CWIMAQSignal.DestinationLineNumber.
Purpose
Action of the signal.
Remarks
Action specifies if the signal line is a capture line, drives a signal, or generates a pulse.
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