Image Acquisition Control
AW00011916000
132
Basler scout GigE
9.6.1.3
Setting the Acquisition Start Trigger Mode and Related
Parameters
You can set the Trigger Mode and related parameter values for the frame start trigger from within
your application software by using the Basler pylon API. If your settings make it necessary, you can
also set the Trigger Source parameter.
The following code snippet illustrates using the API to set the Trigger Mode for the acquisition start
trigger to on and the Trigger Source to input line 1:
// Select the acquisition start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_On );
// Set the source for the selected trigger
Camera.TriggerSource.SetValue ( TriggerSource_Line1 );
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 frame
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Select the frame start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_Off );
// Set the exposure time
Camera.ExposureTimeAbs.SetValue( 3000 );
// 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.AcquisitionFrameRateAbs.SetValue( 60.0 );
// Start frame capture
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 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 43
.
Summary of Contents for scout GigE
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00011916000 40 Basler scout GigE...
Page 52: ...Installation AW00011916000 42 Basler scout GigE...
Page 66: ...Basler Network Drivers and Parameters AW00011916000 56 Basler scout GigE...
Page 80: ...Network Related Camera Parameters and Managing Bandwidth AW00011916000 70 Basler scout GigE...
Page 184: ...Image Acquisition Control AW00011916000 174 Basler scout GigE...
Page 206: ...Color Creation and Enhancement AW00011916000 196 Basler scout GigE...
Page 232: ...Pixel Data Formats AW00011916000 222 Basler scout GigE...
Page 354: ...Chunk Features AW00011916000 344 Basler scout GigE...
Page 358: ...Troubleshooting and Support AW00011916000 348 Basler scout GigE...
Page 367: ...AW00011916000 Revision History Basler scout GigE 357...
Page 368: ...Revision History AW00011916000 358 Basler scout GigE...