Setting The Trigger Mode And Related Parameters - Basler Racer User Manual

Camera link cameras
Hide thumbs Also See for Racer:
Table of Contents

Advertisement

AW00118508000
Exposure Time Control with TriggerMode = On
When the trigger mode is set to On, the exposure time for each line acquisition is determined by the
value of the camera's exposure time parameters.
For more information about setting exposure time, see Section 6.1.3 on
6.1.3
Setting the Trigger Mode and Related
Parameters
You can set the trigger mode and related parameter values from within your application software by
using the pylon API. If your settings make it necessary, you can also set the TriggerSource
parameter.
The following code snippet illustrates using the API to set the TriggerMode parameter for the line
start trigger to On and the TriggerSource parameter to CC1:
// Select the line start trigger
camera.TriggerSelector.SetValue(TriggerSelector_LineStart);
// Set the mode for the selected trigger
camera.TriggerMode.SetValue(TriggerMode_On);
// Set the source for the selected trigger
camera.TriggerSource.SetValue (TriggerSource_CC1);
The following code snippet illustrates using the API to set the TriggerMode parameter for the line
start trigger to Off and the AcquisitionLineRateAbs parameter to 60:
// Select the line start trigger
camera.TriggerSelector.SetValue(TriggerSelector_LineStart);
// Set the mode for the selected trigger
camera.TriggerMode.SetValue(TriggerMode_Off);
// Set the exposure time in (µs)
camera.ExposureTimeAbs.SetValue(300);
// Enable the acquisition line rate parameter and set the line rate. (Enabling
// the acquisition line rate parameter allows the camera to control the line
// rate internally.
camera.AcquisitionLineRateEnable.SetValue(true);
camera.AcquisitionLineRateAbs.SetValue(60.0);
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
Basler racer Camera Link
Acquisition Control
page
58.
page
26.
58

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents