
Image Acquisition Control
AW00123404000
102
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 43
.
Содержание ace acA1920-155
Страница 4: ......
Страница 50: ...Specifications Requirements and Precautions AW00123404000 40 Basler ace USB 3 0...
Страница 56: ...Camera Drivers and Tools for Changing Camera Parameters AW00123404000 46 Basler ace USB 3 0...
Страница 106: ...Physical Interface AW00123404000 96 Basler ace USB 3 0...
Страница 186: ...Image Acquisition Control AW00123404000 176 Basler ace USB 3 0...
Страница 326: ...Index AW00123404000 316 Basler ace USB 3 0...