Frame Start Trigger Delay; Setting The Parameters Related To Hardware Frame Start Triggering And Applying A Hardware Trigger Signal - Basler Camera User Manual

Usb 3.0 cameras
Table of Contents

Advertisement

Image Acquisition Control
6.4.3.3

Frame Start Trigger Delay

The frame start trigger delay feature lets you specify a delay (in microseconds) that will be applied
between the receipt of a hardware frame start trigger and when the trigger will become effective.
The frame start trigger delay can be specified in the range from 0 to 1000000 µs (equivalent to 1 s).
When the delay is set to 0 µs, no delay will be applied.
To set the frame start trigger delay:
Set the camera's Trigger Selector parameter to frame start.
Set the value of the Trigger Delay parameter.
The frame start trigger delay will not operate, if the Frame Start Trigger Mode
parameter is set to off or if you are using a software frame start trigger.
6.4.3.4
Setting the Parameters Related to Hardware Frame
Start Triggering and Applying a Hardware Trigger Signal
You can set all of the parameters needed to perform hardware frame start triggering from within your
application by using the Basler pylon API. The following code snippet illustrates using the API to set
the camera for single frame acquisition mode with the trigger mode for the frame burst start trigger
set to off. We will use the timed exposure mode with input line Line 1 as the trigger source and with
rising edge triggering. In this example, we will use a trigger delay:
// Set the acquisition mode to single frame
camera.AcquisitionMode.SetValue( AcquisitionMode_SingleFrame );
// Select the frame burst start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameBurstStart);
// Set the mode for the selected trigger
camera.TriggerMode.SetValue( TriggerMode_Off );
// Select the frame start trigger
camera.TriggerSelector.SetValue( TriggerSelector_FrameStart );
// 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 trigger activation mode to rising edge
camera.TriggerActivation.SetValue(TriggerActivation_RisingEdge);
// Set the trigger delay for one millisecond (1000us == 1ms == 0.001s)
camera.TriggerDelay.SetValue(1.78);
// Set for the timed exposure mode
camera.ExposureMode.SetValue(ExposureMode_Timed);
// Set the exposure time
camera.ExposureTime.SetValue(3000.0);
108
AW00123402000
Basler ace USB 3.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2000-165Aca2040-90Aca3800-14Aca4600-10

Table of Contents