To configure the input port trigger, follow this procedure:
-
Select input line by writing to register CurrentPort. Use either 0 (Input line 1) or 1 (Input Line 2).
-
Select trigger type by writing to register CurrentIOConfig (for example GeneralPurpose or MarkImage).
-
Select trigger activation by writing to registers CurrentIOSensitivity and CurrentIOPolarity.
For example, if you want to trig mark an image on the rising edge of input line 2:
CurrentPort=1
CurrentIOConfig=MarkImage
CurrentIOSensitivity=RisingEdge
CurrentIOPolarity is not supported for MarkImage type