Setting The Parameters Related To Hardware Line Start Triggering And Applying A Hardware Trigger Signal - Basler Racer User Manual

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

Advertisement

AW00118508000
You can set an ExposureOverlapTimeMaxAbs value in two ways: If you are parameterizing the
camera with Basler pylon you must set the ExposureOverlapTimeMaxAbs parameter and if you are
parameterizing the camera via direct register access you must set the value of the Exposure
Overlap Time Max Raw register.
The correct parameter values depend on the method that you choose to avoid overtriggering:
If you want to monitor the Line Trigger Wait signal to avoid overtriggering you must set
ExposureOverlapTimeMaxAbs to represent the shortest exposure time you intend to use.
This will allow you to avoid the "illegal" situation shown in Fig. 24 on
assume that you will be using trigger width exposure mode and that you intend to use the
ExLSTrig signal to vary the exposure time in a range from 15 µs to 20 µs. In this case you
would set the camera's ExposureOverlapTimeMaxAbs to 20 µs.
If you want to avoid overtriggering by obeying certain timing limits during line acquisition you
must set the ExposureOverlapTimeMaxAbs to an appropriate value.
For more information about line acquisition while obeying certain timing limits and setting the
ExposureOverlapTimeMaxAbs, see Section 6.2.1.2 on
6.1.5.3
Setting the Parameters Related to Hardware Line Start
Triggering and Applying a Hardware Trigger Signal
You can set all of the parameters needed to perform hardware line start triggering from within your
application software by using the pylon API.
The following code snippet illustrates using the API to set the parameter values and execute the
commands related to hardware line start triggering with the camera set for the timed exposure mode
with rising edge triggering and CC1 as the trigger source.
// Disable the acquisition line rate parameter (this will disable the camera's
// internal line rate control and allow you to control the line rate with
// external line start trigger signals)
camera.AcquisitionLineRateEnable.SetValue(false);
// 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);
// Set the trigger activation mode to rising edge
camera.TriggerActivation.SetValue(TriggerActivation_RisingEdge);
// Set for the timed exposure mode
camera.ExposureMode.SetValue(ExposureMode_Timed);
// Set the exposure time
camera.ExposureTimeAbs.SetValue(300);
// Line acquisition will start each time the externally generated
// line start trigger signal (ExLSTrig signal)goes high
Basler racer Camera Link
page
74. For example,
page
75.
Acquisition Control
68

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents