User`s manual
AW00049313000 Acquisition Control
Basler runner 85
8.2.3.3 Setting the Frame Start Trigger Parameters
You can set the Trigger Mode, Trigger Source, and Trigger Activation parameter values for the
frame start trigger from within your application software by using the pylon API. If your settings
make it necessary, you can also issue a Trigger Software command. The following code snippet
illustrates using the API to set the frame start trigger to mode = on, with rising edge triggering on
input line 1:
// Select the trigger you want to work with
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 activation scheme for the selected trigger
Camera.TriggerActivation.SetValue( TriggerActivation_RisingEdge );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 3.1 on page 17.
For more information about spatial correction and the spatial correction parameter, see Chapter 9
on page 131.
Note
If you are using a color camera, you have spatial correction enabled, and you
have the frame start trigger mode set to off, you must discard the first n x 2 lines
from the first frame transmitted by the camera after an acquisition start
command is issued (where n is the absolute value of the current spatial
correction parameter setting).
If you have spatial correction enabled and you have the frame start trigger
mode set to on, you must discard the first n x 2 lines from each frame
transmitted by the camera.










