1.18 Use Cases 167
Note
WaitDigIn waits for a state.
Between TriggerSet and TriggerReset has to be a waiting period.
If you are waiting for an external edge in a HRTC sequence like
WaitDigIn[On,Ignore]
WaitDigIn[Off,Ignore]
the minimum pulse width which can be detected by HRTC has to be at least 5 us.
1.18.10.3 Creating double acquisitions (HRTC)
Note
Please have a look at the Hardware Real-Time Controller (HRTC) (p. 70) chapter for basic information.
If you need a double acquisition, i.e. take two images in a very short time interval, you can achieve this by using the
HRTC.
With the following HRTC code, you will
• take an image using TriggerSet and after TriggerReset you have to
• set the camera to ExposeSet immediately.
• Now, you have to wait until the first image was read-out and then
• set the second TriggerSet.
The ExposureTime was set to 200 us.
0 WaitDigin DigitalInputs[0] - On
1 TriggerSet 1
2 WaitClocks 200
3 TriggerReset
4 WaitClocks 5
5 ExposeSet
6 WaitClocks 60000
7 TriggerSet 2
8 WaitClocks 100
9 TriggerReset
10 ExposeReset
11 WaitClocks 60000
12 Jump 0
1.18.10.4 Take two images after one external trigger (HRTC)
Note
Please have a look at the Hardware Real-Time Controller (HRTC) (p. 70) chapter for basic information.
0. WaitDigin DigIn0->Off
1. TriggerSet 1
2. WaitClocks <trigger pulse width>
3. TriggerReset
4. WaitClocks <time between 2 acquisitions - 10us> (= WC1)
5. TriggerSet 2
6. WaitClocks <trigger pulse width>
7. TriggerReset
8. Jump 0
<trigger pulse width> should not less than 100us.
MATRIX VISION GmbH