Polarity Property
Syntax
CWIMAQSignal.Polarity
Data Type
You can use the following constants with this data type:
- cwimaqActiveHigh—The signal is active on the rising edge.
- cwimaqActiveLow—The signal is active on the falling edge.
Purpose
Polarity of the signal.
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