EasyManuals Logo

Basler scout GigE User Manual

Basler scout GigE
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #149 background imageLoading...
Page #149 background image
AW00011916000 Image Acquisition Control
Basler scout GigE 139
9.6.3.4 Setting the Parameters Related to Hardware Acquisition Start
Triggering and Applying a Hardware Trigger Signal
You can set all of the parameters needed to perform hardware acquisition start triggering from within
your application by using the Basler pylon API. The following code snippet illustrates using the API
to set the camera for single frame acquisition mode.
We will use the timed exposure mode with input line 1 as the trigger source and with rising edge
triggering. In this example, we will use a trigger delay:
// Set the acquisition mode to single frame
Camera.AcquisitionMode.SetValue( AcquisitionMode_SingleFrame );
// 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 );
// Set the trigger activation mode to rising edge
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
// Set the trigger delay for one millisecond (1000us == 1ms == 0.001s)
double TriggerDelay_us = 1000.0;
Camera.TriggerDelayAbs.SetValue( TriggerDelay_us );
// Set for the timed exposure mode
Camera.ExposureMode.SetValue( ExposureMode_Timed );
// Set the exposure time
Camera.ExposureTimeAbs.SetValue( 3000 );
// Execute an acquisition start command to prepare for frame acquisition
Camera.AcquisitionStart.Execute( );
// Frame acquisition will start when the externally generated
// acquisition start trigger signal (ExASTrig signal)goes high
The following code snippet illustrates using the API to set the parameter values and execute the
commands related to hardware acquisition start triggering with the camera set for continuous frame
acquisition mode.
We will use the trigger width exposure mode with input line 1 as the trigger source and with rising
edge triggering:
// Set the acquisition mode to continuous frame
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Disable the acquisition frame rate parameter (this will disable the camera’s
// internal frame rate control and allow you to control the frame rate with
// external acquisition start trigger signals)
Camera.AcquisitionFrameRateEnable.SetValue( false );
// Select the acquisition start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_On );

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler scout GigE and is the answer not in the manual?

Basler scout GigE Specifications

General IconGeneral
BrandBasler
Modelscout GigE
CategoryIP Camera
LanguageEnglish

Related product manuals