User`s manual
Image Acquisition Control
Basler aviator Camera Link 59
5.2.5 Using a Hardware Acquisition Start Trigger
5.2.5.1 Introduction
If the Trigger Mode parameter for the acquisition start trigger is set to on and the Trigger Source
parameter is set to line 1, line 2, CC1, CC2, or CC4, an externally generated electrical signal
injected into the selected source will be will act as the acquisition start trigger signal for the camera.
This type of trigger signal is generally referred to as a hardware trigger signal or as an external
acquisition start trigger signal (ExASTrig).
A rising edge or a falling edge of the ExASTrig signal can be used to trigger acquisition start. The
Trigger Activation parameter is used to select rising edge or falling edge triggering.
When the Trigger Mode parameter is set to on, the camera will initially be in a "waiting for acquisition
start trigger" acquisition status. It cannot react to frame start trigger signals when in this acquisition
status. When the appropriate ExASTrig signal is applied to the selected source (e.g, a rising edge
of the signal for rising edge triggering), the camera will exit the "waiting for acquisition start trigger"
acquisition status and will enter the "waiting for frame start trigger" acquisition status. It can then
react to frame start trigger signals. When the number of frame start trigger signals received by the
camera is equal to the current Acquisition Frame Count parameter setting, the camera will return to
the "waiting for acquisition start trigger" acquisition status. When a new ExASTrig signal is applied
to the selected source, the camera will again exit from the "waiting for acquisition start trigger"
acquisition status and enter the "waiting for frame start trigger" acquisition status.
For more information about setting the camera for hardware acquisition start triggering and
selecting the source to receive the ExASTrig signal, see Section 5.2.5.2 on page 59.
For more information about the electrical requirements for line 1 and line 2, see Section 2.8 on
page 26.
For more information about CC1, CC2, and CC4, see Section 2.10 on page 34.
5.2.5.2 Setting the Parameters Related to Hardware Acquisition
Start Triggering and Applying a Hardware Trigger Signal
Setting the Parameters Using Basler pylon and Applying a Signal
You can set all of the parameters needed to perform hardware acquisition start triggering from within
your application by using the pylon API. The following code snippet illustrates using the API to set
the parameter values required to enable rising edge hardware acquisition start triggering with line 1
as the trigger source:
// 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 );