Setting The Parameters Related To Software Frame Burst Start Triggering And Applying A Software Trigger Signal - Basler acA2040-55 User Manual

Basler ace
Table of Contents

Advertisement

AW00123409000
6.3.4.2
Setting the Parameters Related to Software Frame Burst
Start Triggering and Applying a Software Trigger Signal
You can set all of the parameters needed to perform software frame burst start triggering from within
your application software by using the Basler pylon API. The following code snippet illustrates using
the API to set the parameter values and to execute the commands related to software frame burst
start triggering with the camera set for continuous acquisition mode:
// Set the acquisition mode to Continuous (the acquisition mode must
// be set to Continuous when frame burst start triggering is on)
camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Select the frame burst start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameBurstStart);
// 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 burst frame count
camera.AcquisitionBurstFrameCount.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 Frame Burst Start,
// executing a Trigger Software command will apply a software frame
// burst start trigger signal to the camera
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
Basler ace USB 3.0
Image Acquisition Control
page
61.
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2440-35Aca2040-120Aca2440-75

Table of Contents