
Image Acquisition Control
AW00123404000
106
Basler ace USB 3.0
6.3.3
Setting the Frame Burst Start Trigger Mode and
Related Parameters
You can set the Trigger Mode and Trigger Source parameters for the frame burst start trigger and
also set the Acquisition Burst 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 Burst Frame Count to 5:
// Set the acquisition mode to continuous (the acquisition mode must
// be set to continuous when frame burst start triggering is on)
camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Select the frame burst start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameBurstStart);
// 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 burst frame count
camera.AcquisitionBurstFrameCount.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 Burst Frame Count to 5:
// Set the acquisition mode to continuous (the acquisition mode must
// be set to continuous when frame burst start triggering is on)
camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Select the frame burst start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameBurstStart);
// 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 burst frame count
camera.AcquisitionBurstFrameCount.SetValue( 5 );
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...