EasyManua.ls Logo

Basler acA2040-55 - Page 135

Basler acA2040-55
373 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AW00123409000 Image Acquisition Control
Basler ace USB 3.0 125
The following code snippet illustrates using the API to set the Acquisition Mode to Continuous, the
Trigger Mode to off, and the Acquisition Frame Rate to 60:
// Set the acquisition mode to Continuous
camera.AcquisitionMode.SetValue(AcquisitionMode_Continuous);
// Select the frame start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameStart);
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_Off );
// Set the exposure time
Camera.ExposureTime.SetValue( 3000.0 );
// Enable the acquisition frame rate parameter and set the frame rate.
(Enabling
// the acquisition frame rate parameter allows the camera to control the
frame
// rate internally.)
camera.AcquisitionFrameRateEnable.SetValue(true);
camera.AcquisitionFrameRate.SetValue(60.0);
// Start frame capture
Camera.AcquisitionStart.Execute( );
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 page 61.

Table of Contents

Related product manuals