Using A Software Acquisition Start Trigger; Introduction; Setting The Parameters Related To Software Acquisition Start Triggering And Applying A Software Trigger Signal - Basler ace acA640-90gm User Manual

Gige cameras
Table of Contents

Advertisement

Image Acquisition Control
7.3.4

Using a Software Acquisition Start Trigger

7.3.4.1

Introduction

If the camera's Acquisition Start Trigger Mode parameter is set to on and the Acquisition Start
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.
A software acquisition start trigger signal is applied by:
Setting the Trigger Selector parameter to Acquisition Start.
Executing a Trigger Software command.
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.
(Note that as long as the Trigger Selector parameter is set to Acquisition Start, a software
acquisition start trigger will be applied to the camera each time a Trigger Software command is
executed.)
7.3.4.2
Setting the Parameters Related to Software Acquisition
Start Triggering and Applying a Software Trigger Signal
You can set all of the parameters needed to perform software acquisition 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 acquisition
start triggering with the camera set for continuous frame acquisition mode:
// Set the acquisition mode to continuous(the acquisition mode must
// be set to continuous when acquisition start triggering is on)
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// 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 );
72
Basler ace GigE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ace aca640-90gcAce aca640-100gmAce aca640-100gc

Table of Contents