
Image Acquisition Control
AW00123402000
90
Basler ace USB 3.0
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, where Line 1 is taken as an example. 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.ExposureTime.SetValue( 3000.0 );
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 37
.
Summary of Contents for acA2000-165
Page 4: ......
Page 10: ...Table of Contents AW00123402000 vi Basler ace USB 3 0...
Page 44: ...Specifications Requirements and Precautions AW00123402000 34 Basler ace USB 3 0...
Page 46: ...Installation AW00123402000 36 Basler ace USB 3 0...
Page 50: ...Camera Drivers and Tools for Changing Camera Parameters AW00123402000 40 Basler ace USB 3 0...
Page 94: ...Physical Interface AW00123402000 84 Basler ace USB 3 0...
Page 262: ...Features AW00123402000 252 Basler ace USB 3 0...
Page 268: ...Revision History AW00123402000 258 Basler ace USB 3 0...