EasyManua.ls Logo

Basler ace acA640-90gm - Page 78

Basler ace acA640-90gm
302 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...
Image Acquisition Control
68 Basler ace GigE
Setting the Acquisition Mode and Issuing Start/Stop Commands
You can set the Acquisition Mode parameter value and you can execute Acquisition Start or
Acquisition Stop commands from within your application software by using the Basler pylon API.
The code snippet below illustrates using the API to set the Acquisition Mode parameter value and
to execute an Acquisition Start command. Note that the snippet also illustrates setting several
parameters regarding frame 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.TriggerSource.SetValue ( TriggerSource_Line1 );
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
Camera.ExposureMode.SetValue( ExposureMode_Timed );
Camera.ExposureTimeAbs.SetValue( 3000 );
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 on page 27.

Table of Contents

Related product manuals