User`s manual

AW00098504000 Image Acquisition Control
Basler ace Camera Link 73
7.2.4 Using a Software Acquisition Start Trigger Signal
7.2.4.1 Introduction
If the camera’s Trigger Mode parameter for the acquisition start trigger is set to on and the Trigger
Source parameter is set to software, you must apply a software acquisition start trigger signal to the
camera before you can begin frame acquisition.
The camera will initially be in a "waiting for acquisition start trigger" acquisition status. It cannot react
to frame trigger signals when in this acquisition status. When a software acquisition start trigger
signal is received by the camera, it 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 software acquisition start trigger signal is
applied to the camera, it will again exit from the "waiting for acquisition start trigger" acquisition
status and enter the "waiting for frame start trigger" acquisition status.
Section 7.2.4.2 includes more detailed information about applying a software acquisition start
trigger to the camera using Basler pylon or via direct register access.
7.2.4.2 Setting the Parameters Related to Software Acquisition
Start Triggering and Applying a Software Trigger Signal
Setting the Parameters and Applying the Signal Using Basler pylon
You can set all of the parameters needed to perform software acquisition start triggering from within
your application software by using the pylon API. The following code snippet illustrates using the
API to set the parameter values and execute the commands related to software acquisition start
triggering:
// 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_Software );
// Set the acquisition frame count
Camera.AcquisitionFrameCount.SetValue( 5 );
// Execute a trigger software command to apply a software acquisition start trigger
// signal to the camera
Camera.TriggerSoftware.Execute( );
// Note: as long as the Trigger Selector is set to Acquisition Start, executing
// a Trigger Software command will apply an acquisition start software trigger
// signal to the camera