Working With Timers; Setting The Trigger Source For A Timer - Basler Pioneer User Manual

Gige vision cameras
Table of Contents

Advertisement

I/O Control

12.2.4 Working with Timers

The camera has four timer output signals available: Timer 1, Timer 2, Timer 3, and Timer 4. As
shown in Figure 43, each timer works as follows:
A trigger source event occurs that starts the timer.
A delay period begins to expire.
When the delay expires, the timer signal goes high and a duration period begins to expire.
When the duration period expires, the timer signal goes low.
Duration
Delay
Trigger source event occurs
Fig. 43: Timer Signal
Currently, the only trigger source event available to start the timer is "exposure active". In other
words, you can use exposure start to trigger the start of a timer.
Timer 1 can only be assigned to output line 1. Timer 2 can only be assigned to output line 2. Timer
3 can only be assigned to output line 3. Timer 4 can only be assigned to output line 4.
If you require the timer signal to be high when the timer is triggered and to go low when the delay
expires, simply set the output line to invert.

12.2.4.1 Setting the Trigger Source for a Timer

To set the source event for a timer:
Use the Timer Selector to select a timer.
Set the value of the Timer Trigger Source parameter to exposure active. This will set the
selected timer to use the start of exposure to begin the timer.
You can set the Trigger Selector and the Timer Trigger Source parameter value from within your
application software by using the pylon API. The following code snippet illustrates using the API to
set the selector and the parameter value:
Camera.TimerSelector.SetValue( TimerSelector_Timer1 );
Camera.TimerTriggerSource.SetValue( TimerTriggerSource_ExposureStart );
For detailed information about using the pylon API, refer to the Basler pylon Programmer's Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 2.2 on
page
40.
170
page 20
and Section 2.4 on
Basler pioneer

Advertisement

Table of Contents
loading

Table of Contents