User`s manual
I/O Control AW00098504000
52 Basler ace Camera Link
Setting the Debouncer Using Basler Pylon
The debouncer value is determined by the value of the Line Debouncer Time Abs parameter. The
parameter is set in microseconds and can be set in a range from 0 to approximately 1 s.
To set the debouncer:
Use the Line Selector to select CC1, CC2, CC3, or Line1 (Line1 designates the GPIO line).
Set the value of the Line Debouncer Time Abs parameter.
You can set the Line Selector and the value of the Line Debouncer Abs parameter from within your
application software by using the Basler pylon API. The following code snippet illustrates using the
API to set the selector and the parameter value:
// Select the GPIO line
Camera.LineSelector.SetValue( LineSelector_Line1 );
// Set the parameter value to 100 microseconds
Camera.LineDebouncerTimeAbs.SetValue( 100 );
// Select the CC1 line
Camera.LineSelector.SetValue( LineSelector_CC1 );
// Set the parameter value to 150 microseconds
Camera.LineDebouncerTimeAbs.SetValue( 150 );
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3.1 on page 19.
Setting the Debouncer Using Direct Register Access
To set the value of the input line debouncers via direct register access:
For the GPIO line, set the value of the Input Debouncer Time Line 1 register as desired (the
value represents milliseconds).
For the CC1 line, set the value of the Input Debouncer Time CC1 register.
For the CC2 line, set the value of the Input Debouncer Time CC2 register.
For the CC3 line, set the value of the Input Debouncer Time CC3 register.
For more information about direct register access, see Section 3.2 on page 21.