![Vision Components VCSBC4012 Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/vision-components/vcsbc4012/vcsbc4012_operating-manual_1031727020.webp)
VCSBC4012.pdf – VCSBC4012 Single Board Smart Camera Operating Manual
20
6.5 Special VCRT functions for programming VCSBC4012 cameras
This sections explains the specifics of programming VCSBC4012 cameras.
6.5.1 Trigger
Functions
Apart form the inverse TTL logic (see section 4.2.3) and the different status register shown below, the
trigger works like with the VC4XXX cameras.
Please refer to the VCRT5.pdf manual – available form the Registered User Area of the VC website.
To query the trigger input, use the following command (see demo program trigin.c):
…
if (TRIGINP_PIN)
print("external trigger = 1\n");
else
print("external trigger = 0\n");
…
A capture can be triggered on rising edge with TRIGINP_POS() and on falling edge with
TRIGINP_NEG().
Signal
Trigger Mode
TRIGINP_POS()
Rising Edge Trigger Signal
TRIGINP_NEG()
Falling Edge Trigger Signal
Trigger input
t
V
Threshold
Trigger input
t
V
Threshold
The trigger output can be set to exposure controlled mode – for instance to control a light source. With
TRIGOUT_EXP() combined with TRIGOUT_POS(), the trigger output is high during exposure.
TRIGOUT_EXP() combined with TRIGOUT_NEG(), the trigger output is low during exposure.
©
1996-2011 Vision Components GmbH Ettlingen, Germany