Image Acquisition Control
AW00011916000
114
Basler scout GigE
9.4.3
Setting the Acquisition Start Trigger Mode and
Related Parameters (Standard Mode)
You can set the Trigger Mode and Trigger Source parameters for the acquisition start trigger and
also set the Acquisition Frame Count parameter value from within your application software by
using the Basler pylon API.
The following code snippet illustrates using the API to set the Trigger Mode to on, the Trigger
Source to software, and the Acquisition Frame Count to 5:
// Set the acquisition mode to continuous(the acquisition mode must
// be set to continuous when acquisition start triggering is on)
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// 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_Software );
// Set the acquisition frame count
Camera.AcquisitionFrameCount.SetValue( 5 );
The following code snippet illustrates using the API to set the Trigger Mode to on, the Trigger
Source to line 1, the Trigger Activation to rising edge, and the Acquisition Frame Count to 5:
// Set the acquisition mode to continuous(the acquisition mode must
// be set to continuous when acquisition start triggering is on)
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// 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 );
// Set the activation mode for the selected trigger to rising edge
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
// Set the acquisition frame count
Camera.AcquisitionFrameCount.SetValue( 5 );
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
.
Содержание scout GigE
Страница 4: ......
Страница 50: ...Specifications Requirements and Precautions AW00011916000 40 Basler scout GigE...
Страница 52: ...Installation AW00011916000 42 Basler scout GigE...
Страница 66: ...Basler Network Drivers and Parameters AW00011916000 56 Basler scout GigE...
Страница 80: ...Network Related Camera Parameters and Managing Bandwidth AW00011916000 70 Basler scout GigE...
Страница 184: ...Image Acquisition Control AW00011916000 174 Basler scout GigE...
Страница 206: ...Color Creation and Enhancement AW00011916000 196 Basler scout GigE...
Страница 232: ...Pixel Data Formats AW00011916000 222 Basler scout GigE...
Страница 354: ...Chunk Features AW00011916000 344 Basler scout GigE...
Страница 358: ...Troubleshooting and Support AW00011916000 348 Basler scout GigE...
Страница 367: ...AW00011916000 Revision History Basler scout GigE 357...
Страница 368: ...Revision History AW00011916000 358 Basler scout GigE...