
8.Features
© China Daheng Group, Inc. Beijing Image Vision Technology Branch 129
8.3.18. Timer
The camera only supports one timer (Timer1), which can be started by a specified event or signal (only
ExposureStart signal is supported). The timer can configure a timer output signal that goes high on a
specific event or signal and goes low after a specific duration. After a trigger source event that starts the
TimerTrigger Source occurs, it starts to delay for a specified time. When the delay has expired, the timer
output signal is enabled and stays high for the duration. When the duration has expired, the timer output
signal is disabled and goes low, and the timer is cleared at the same time. A schematic diagram of the
timer working process is as follows:
Figure 8-55 The schematic diagram of Timer1Active
The timer configuration process is as follows:
1. Set TimerSelector, currently only Timer1 supported.
2. Set LineSelector.
3. Set the LineSource to Timer1Active.
4. Set TimerTriggerSource, currently only ExposureStart supported.
5. Set TimerDelay, the range of TimerDelay is
[0, 16777215], the unit is μs.
6.
Set TimerDuration, the range of TimerDuration is [0, 16777215], the unit is μs.
1) From the start of the timer to the full output of Timer1Active, this process will not be interrupted
by the ExposureStart signal, and Timer1Active must be completely output to start timing
according to the next ExposureStart signal. As shown in the Figure 8-56, the red ExposureStart
signals are ignored.
Figure 8-56
The relationship between Timer1Active and the ExposureStart signal
2) After the acquisition is stopped, the timer is immediately cleared and the Timer1Active signal
goes low immediately.
TimerDelay
Timer1
Timer1Active
TimerTrigger
Source
ExpsoureStart
TimerDelay
Timer1
Timer1Active
TimerTrigger
Source
ExpsoureStart
TimerDelay
ExpsoureStar
t