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

Gige cameras
Table of Contents

Advertisement

7.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 10000000 µs (equivalent to
10 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 Abs 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.
7.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 acquisition start trigger
set to off. We will use the timed exposure mode with input 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 acquisition start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// 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)
double TriggerDelay_us = 1000.0;
Camera.TriggerDelayAbs.SetValue( TriggerDelay_us );
// Set for the timed exposure mode
Camera.ExposureMode.SetValue( ExposureMode_Timed );
// Set the exposure time
Camera.ExposureTimeAbs.SetValue( 3000 );
Basler ace GigE
Image Acquisition Control
85

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ace aca640-90gcAce aca640-100gmAce aca640-100gc

Table of Contents