Image Acquisition Control
106 Basler scout
Exposure Time Control with the Acquisition Start Trigger Mode On
When the Trigger Mode parameter for the acquisition start trigger is set to on and the Trigger Source
parameter is set to software, the exposure time for each frame acquisition is determined by the
camera’s exposure time parameters.
When the Trigger Mode parameter is set to on and the Trigger Source parameter is set to e.g. input
line 1, the exposure time for each frame acquisition can be controlled with the exposure time
parameters or it can be controlled by manipulating the hardware trigger signal.
For more information about controlling exposure time when using a software trigger, see
Section 7.4.4 on page 89.
For more information about controlling exposure time when using a hardware trigger, see
Section 7.4.5 on page 90.
For more information about exposure time parameters, see Section 7.7 on page 116.
7.6.1.3 Setting the Acquisition Start Trigger Mode and Related
Parameters
You can set the Trigger Mode and related parameter values for the frame start trigger from within
your application software by using the Basler pylon API. If your settings make it necessary, you can
also set the Trigger Source parameter.
The following code snippet illustrates using the API to set the Trigger Mode for the acquisition start
trigger to on and the Trigger Source to input line 1:
// Select the acquisition start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_On );
// Set the source for the selected trigger
Camera.TriggerSource.SetValue ( TriggerSource_Line1 );
The following code snippet illustrates using the API to set the Acquisition Mode to continuous, the
Trigger Mode to off, and the Acquisition Frame Rate to 60:
// Set the acquisition mode to continuous frame
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Select the frame start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_Off );
// Set the exposure time
Camera.ExposureTimeAbs.SetValue( 3000 );
// Enable the acquisition frame rate parameter and set the frame rate. (Enabling
// the acquisition frame rate parameter allows the camera to control the frame
// rate internally.)