Basler SCOUT LIGHT User Manual Page 102

  • Download
  • Add to my manuals
  • Print
  • Page
    / 166
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 101
I/O Control
94 Basler scout light
8.2.4.3 Setting the Timer Duration Time
There are two ways to set the duration time for timer 1: by setting "raw" values or by setting an
"absolute value". You can use whichever method you prefer to set the duration time.
Setting the Duration Time with Raw Values
When the duration time for timer 1 is set using "raw" values, the duration time will be determined by
a combination of two elements. The first element is the value of the Timer Duration Raw parameter,
and the second element is the Timer Duration Time Base. The duration time is the product of these
two elements:
Duration Time = (Timer Duration Raw Parameter Value) x (Timer Duration Time Base)
By default, the Timer Duration Time Base is fixed at 1 µs. Typically, the duration time is adjusted by
setting only the Timer Duration Raw parameter value.
The Timer Duration Raw parameter value can range from 1 to 4095. So if the value is set to 100,
for example, the timer duration will be 100 x 1 µs or 100 µs.
To set the duration for timer 1:
Use the Timer Selector to select timer 1.
Set the value of the Timer Duration Raw parameter.
You can set the Timer Selector and the Timer Duration Raw 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.TimerDurationRaw.SetValue( 100 );
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.
Changing the Duration Time Base
By default, the Timer Duration Time Base is fixed at 1 µs, and the timer duration is normally adjusted
by setting the value of the Timer Duration Raw parameter. However, if you require a duration time
that is longer than what you can achieve by changing the value of the Timer Duration Raw
parameter alone, the Timer Duration Time Base Abs parameter can be used to change the duration
time base.
The Timer Duration Time Base Abs parameter value sets the duration time base in µs. The default
is 1 µs and it can be changed in 1 µs increments.
You can set the Timer Duration Time Base Abs parameter value from within your application
software by using the pylon API. The following code snippet illustrates using the API to set the
parameter value:
Camera.TimerDurationTimebaseAbs.SetValue( 5 );
Page view 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 165 166

Comments to this Manuals

No comments