168
Figure 1: Take two images after one external trigger
This program generates two internal trigger signals after the digital input 0 is going to low. The time between those
internal trigger signals is defined by step (4). Each image is getting a different frame ID. The first one has the
number 1, defined in the command (1) and the second image will have the number 2. The application can ask for
the frame ID of each image, so well known which image is the first and the second one.
1.18.10.5 Take two images with different expose times after an external trigger (HRTC)
Note
Please have a look at the Hardware Real-Time Controller (HRTC) (p. 70) chapter for basic information.
The following code shows the solution in combination with a CCD model of the camera. With CCD models you have
to set the exposure time using the trigger width.
0. WaitDigin DigIn0->Off
1. ExposeSet
2. WaitClocks <expose time image1 - 10us> (= WC1)
3. TriggerSet 1
4. WaitClocks <trigger pulse width>
5. TriggerReset
6. ExposeReset
7. WaitClocks <time between 2 acquisitions - expose time image1 - 10us> (= WC2)
8. ExposeSet
9. WaitClocks <expose time image2 - 10us> (= WC3)
10. TriggerSet 2
11. WaitClocks <trigger pulse width>
12. TriggerReset
13. ExposeReset
14. Jump 0
<trigger pulse width> should not less than 100us.
MATRIX VISION GmbH