User`s manual
Image Acquisition Control AW00098504000
92 Basler ace Camera Link
// internal frame rate control and allow you to control the frame rate with
// external frame start signals)
Camera.AcquisitionFrameRateEnable.SetValue( false );
// Select the frame start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_FrameStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_On );
// Configure the GPIO line as an input
Camera.LineSelector.SetValue( LineSelector_Line1 );
Camera.LineMode.SetValue( LineMode_Input );
// Set the source for the selected trigger to line 1
Camera.TriggerSource.SetValue ( TriggerSource_Line1 );
// Set the trigger activation mode to rising edge
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
// Set for the trigger width exposure mode
Camera.ExposureMode.SetValue( ExposureMode_TriggerWidth );
// Set the trigger delay for one millisecond (1000us == 1ms == 0.001s)
double TriggerDelay_us = 1000.0;
Camera.TriggerDelayAbs.SetValue( TriggerDelay_us );
// Frame acquisition will start each time the externally generated
// frame start trigger signal (ExFSTrig signal)goes high
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 page 19.
For more detailed information about the camera’s GPIO line, see Section 5.7 on page 35.
Setting the Parameters Using Direct Register Access and Applying the Signal
To set the parameters needed to perform hardware frame start triggering via direct register access
(with the trigger mode for the acquisition start trigger set to off):
Set the value of the Trigger Mode Acquisition Start register to Off.
Set the value of the Acquisition Frame Period Enable register to 0 (false).
(This will disable the camera’s ability to control the frame period internally and allow you to
control the frame rate with an external signal.)
Set the value of the Trigger Mode Frame Start register to On.
Set the value of the Trigger Source Frame Start register to receive the external trigger signal
on Line 1, CC1, CC2, or CC3.
If the trigger source is set to line 1, set the GPIO line to operate as an input by setting the value
of the Line Mode Line 1 register to Input.
Set the value of the Trigger Activation Frame Start register to Rising Edge or Falling Edge as
desired.
Set the value of the Exposure Mode register to Timed or to Trigger Width.
If the mode is set to timed, set the value of the Exposure Time Raw register as desired.