User`s manual

I/O Control AW00098504000
50 Basler ace Camera Link
Setting the Line Mode Using Basler Pylon
You can set the Line Mode parameter value from within your application software by using the pylon
API.
The following code snippet illustrates using the API to set the line mode:
// Configure the GPIO line as an input
Camera.LineSelector.SetValue( LineSelector_Line1 );
Camera.LineMode.SetValue( LineMode_Input );
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 Line Mode Using Direct Register Access
To configure the GPIO line as an input via direct register access:
Set the value of the Line Mode Line 1 register to Input.
For more information about direct register access, see Section 3.2 on page 21.
6.1.3 Selecting an Input Line as the Source Signal for a
Camera Function
You can set the GPIO line (assuming it is set as an input), CC1, CC2, or CC3 to act as the source
signal for one of the following camera functions:
Acquisition Start Trigger - If an input line is selected as the source signal for the acquisition
start trigger, whenever a proper electrical signal is applied to the line, the camera will recognize
the signal as an acquisition start trigger signal.
Frame Start Trigger - If an input line is selected as the source signal for the frame start trigger,
whenever a proper electrical signal is applied to the line, the camera will recognize the signal
as an frame start trigger signal.
For detailed information about selecting an input line to act as the source signal for the acquisition
start trigger and for details about how the acquisition start trigger operates, see Section 7.2.5 on
page 75.
For detailed information about selecting an input line to act as the source signal for the frame start
trigger and for details about how the frame start trigger operates, see Section 7.3.3 on page 86.