EasyManuals Logo

Basler acA2040-55 User Manual

Basler acA2040-55
373 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 #147 background imageLoading...
Page #147 background image
AW00123409000 Image Acquisition Control
Basler ace USB 3.0 137
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)
camera.TriggerDelay.SetValue(1.78);
// Set for the timed exposure mode
camera.ExposureMode.SetValue(ExposureMode_Timed);
// Set the exposure time
camera.ExposureTime.SetValue(3000.0);
// Execute an acquisition start command to prepare for frame
acquisition
camera.AcquisitionStart.Execute( );
// Frame acquisition will start when the externally generated
// frame start trigger signal (ExFSTrig signal)goes high
The following code snippet illustrates using the API to set the parameter values and execute the
commands related to hardware frame start triggering with the camera set for continuous acquisition
mode and the trigger mode for the frame burst start trigger set to off. We will use the trigger width
exposure mode with input line Line 1 as the trigger source and with rising edge triggering:
// Set the acquisition mode to Continuous
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_Off);
// 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 frame start trigger signals)
camera.AcquisitionFrameRateEnable.SetValue(false);
// Select the frame start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_FrameStart );
// 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 for the trigger width exposure mode
camera.ExposureMode.SetValue( ExposureMode_TriggerWidth );

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler acA2040-55 and is the answer not in the manual?

Basler acA2040-55 Specifications

General IconGeneral
BrandBasler
ModelacA2040-55
CategoryDigital Camera
LanguageEnglish

Related product manuals