EasyManua.ls Logo

Basler GigE VISION CAMERAS - Page 87

Basler GigE VISION CAMERAS
234 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...
AW00118303000 Acquisition Control
Basler racer GigE 79
Setting the Acquisition Mode and Issuing Start/Stop Commands
You can set the Acquisition Mode parameter value and you can issue Acquisition Start or
Acquisition Stop commands from within your application software by using the pylon API. The code
snippet below illustrates using the API to set the Acquisition Mode parameter value and to issue an
Acquisition Start command. Note that the snippet also illustrates setting several parameters
regarding frame and line triggering. These parameters are discussed later in this chapter.
Camera.AcquisitionMode.SetValue( AcquisitionMode_SingleFrame );
Camera.TriggerSelector.SetValue( TriggerSelector_FrameStart );
Camera.TriggerMode.SetValue( TriggerMode_On );
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
Camera.TriggerSelector.SetValue( TriggerSelector_LineStart );
Camera.TriggerMode.SetValue( TriggerMode_On );
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
Camera.ExposureMode.SetValue( ExposureMode_Timed );
Camera.ExposureTimeAbs.SetValue( 55 );
Camera.AcquisitionStart.Execute( );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 3.1 on page 23.
When the camera's acquisition mode is set to single frame, the maximum possible
acquisition frame rate for a given AOI cannot be achieved. This is true because
the camera performs a complete internal setup cycle for each single frame.

Table of Contents

Related product manuals