User`s manual

I/O Control AW00098504000
60 Basler ace Camera Link
Setting an Output Line for Invert Using Pylon
To set the invert function on an output line:
Use the Line Selector to select the GPIO line or the CL Spare line.
Set the value of the Line Inverter parameter to true to enable inversion on the selected line or
to false to disable inversion.
You can set the Line Selector and the Line Inverter 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:
// Select the GPIO line
Camera.LineSelector.SetValue( LineSelector_Line1 );
// Enable the inverter on the selected line
Camera.LineInverter.SetValue( true );
// Select the CL Spare line
Camera.LineSelector.SetValue( LineSelector_ClSpare );
// Disable the inverter on the selected line
Camera.LineInverter.SetValue( false );
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 an Output Line for Invert Using Direct Register Access
To set the invert function on an output line via direct register access:
For the GPIO line, set the value of the Line Inverter Line 1 register to 0 (false) or 1 (true) as
desired.
For the CL Spare line, set the value of the Line Inverter CL Spare register to 0 (false) or 1 (true)
as desired.
For more information about direct register access, see Section 3.2 on page 21.