User`s manual

Image Acquisition Control AW00098504000
110 Basler ace Camera Link
Selecting the Exposure Active Signal as the Source Signal for an Output Line
Using Basler Pylon
You can select the exposure active signal as the source signal for the GPIO line (assuming it is set
as an output) or the CL Spare output line. Selecting a source signal for the output line is a three step
process:
Configure the GPIO line as an output (if you want to use the GPIO line).
Use the Line Selector to select the desired line.
Set the value of the Line Source Parameter to the exposure active output signal.
You can set the Line Selector and the Line Source parameter value 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:
// Configure the GPIO line as an output
Camera.LineSelector.SetValue( LineSelector_Line1 );
Camera.LineMode.SetValue( LineMode_Output );
//Select the GPIO line
Camera.LineSelector.SetValue( LineSelector_Line1 );
//Set the source signal for the selected line
Camera.LineSource.SetValue( LineSource_ExposureActive );
//Select the CL Spare line
Camera.LineSelector.SetValue( LineSelector_ClSpare );
//Set the source signal for the selected line
Camera.LineSource.SetValue( LineSource_ExposureActive );
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.
For more detailed information about the camera’s GPIO line, see Section 5.7 on page 35.
Selecting the Exposure Active Signal as the Source Signal for an Output Line
Using Direct Register Access
You can select the exposure active signal as the source signal for the camera’s GPIO line
(assuming it is set as an output) or the CL Spare output line.
To select the exposure active signal as the source signal for the GPIO line via direct register access:
Set the GPIO line to operate as an output by setting the value of the Line Mode Line 1 register
to Output.
Set the value of the Line Source Line 1 register to Exposure Active.
To select the exposure active signal as the source signal for the CL Spare line via direct register
access:
Set the value of the Line Source CL Spare register to Exposure Active.