Image Acquisition Control AW00011916000
116 Basler scout GigE
Camera.AcquisitionFrameCount.SetValue( 5 );
// Execute an acquisition start command to prepare for frame acquisition
Camera.AcquisitionStart.Execute( );
while ( ! finished )
{
// Execute a trigger software command to apply a software acquisition
// start trigger signal to the camera
Camera.TriggerSoftware.Execute( );
// Perform the required functions to parameterize the frame start
// trigger, to trigger 5 frame starts, and to retrieve 5 frames here
}
Camera.AcquisitionStop.Execute( );
// Note: as long as the Trigger Selector is set to Acquisition Start, executing
// a Trigger Software command will apply a software acquisition start trigger
// signal to the camera
You can also use the Basler pylon Viewer application to easily set the parameters.
9.4.5 Using a Hardware Acquisition Start Trigger
(Standard Mode)
9.4.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, an externally generated electrical signal injected into physical input line
1 on the camera 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 line 1 (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 line 1, the
camera will again exit from the "waiting for acquisition start trigger" acquisition status and enter the
"waiting for frame start trigger" acquisition status.