
About I/O, synchronization, and
12.1
FLIR Ax5 General Purpose I/O
The FLIR Ax5 camera has one general-purpose input line and one output line that can
be used in control applications.
Typical usage:
• The output line is asserted when an alarm condition is met.
• The input line is used to trigger an action, for example saving an image.
The output line GPO+ is controlled by the register
UserOutputValue
. Set this register to
True
to assert (level equal to GPIO_PWR) the GPO+ signal, and set to
False
to de-assert
(level is equal to GPIO_GND).
You can monitor the input line by reading the
LineStatus
register on a regular basis. The
LineStatus
register will return
True
if the input level is asserted (level equal to GPIO_PWR
voltage), and it will return
False
if the input line is de-asserted (level is equal to GPIO_
GND).
Another option is to configure the camera to send a GigEVision event when the input line
state is changed. In order to configure the camera for event transmission you need to
modify the following registers:
PLC_Q7_Variable0
Enum
Set this register to PLC_I0 (enu-
meration value 2) to route the
GPI signal
EventSelector
Enum
Set this register to PLC_Inter-
rupt_FIFO0_Q7 (enumeration
value 5)
EventNotification
Enum
Set this register to GigEVisionE-
vent (enumeration value 3)
To de-bounce the input signal you also might want to configure the
LineDebounceFactor
register. This register controls the width of the window during which spurious transitions
from the input line are filtered out (in increments of ~480 ns). This register is 0 by default,
which means that the de-bouncing is disabled. The maximum value for this register is
65535, which corresponds to a maximum holding time of ~31 ms.
The FLIR GEV Demo 1.3 sample illustrates how to setup the event transmission. C++
source code is available in PureGEV SDK Sample.
Applicable downloads:
• Link to download PureGEV SDK Sample (source code): http://support.flir.com/
SwDownload/app/RssSWDownload.aspx?ID=133
• Link to download FLIR GEV Demo 1.3.0 (installer): http://support.flir.com/SwDown-
load/app/RssSWDownload.aspx?ID=155
12.2
FLIR Ax5 synchronization
The camera provides an external sync channel that can be used to synchronize the
frame start between two cameras, one configured as the master and the other config-
ured as the slave. It can also be used to synchronize the frame start of a camera with that
of another product.
#T559770; r. AL/81723/81723; en-US
17