
Image Acquisition Control
AW00123404000
114
Basler ace USB 3.0
Exposure Time Control with the Frame Start Trigger On
When the Trigger Mode parameter for the frame start trigger is set to on and the Trigger Source
parameter is set to software, the exposure time for each frame acquisition is determined by the
value of the camera’s Exposure Time parameter.
When the Trigger Mode parameter is set to on and the Trigger Source parameter is set to input line
Line 1, the exposure time for each frame acquisition can be controlled with the Exposure Time
parameter or it can be controlled by manipulating the hardware trigger signal.
For more information about controlling exposure time when using a software trigger, see
Section 6.4.2 on
page 116
.
For more information about controlling exposure time when using a hardware trigger, see
Section 6.4.3 on
page 118
.
6.4.1.3
Setting The Frame 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 frame start
trigger to on and the Trigger Source to input line Line 1:
// Select the frame start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameStart);
// Set the trigger 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_FrameStart);
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_Off );
// Set the exposure time
Camera.ExposureTime.SetValue( 3000.0 );
// 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.AcquisitionFrameRate.SetValue(60.0);
Summary of Contents for ace acA1920-155
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00123404000 40 Basler ace USB 3 0...
Page 56: ...Camera Drivers and Tools for Changing Camera Parameters AW00123404000 46 Basler ace USB 3 0...
Page 106: ...Physical Interface AW00123404000 96 Basler ace USB 3 0...
Page 186: ...Image Acquisition Control AW00123404000 176 Basler ace USB 3 0...