Trigger Source#

The Trigger Source camera feature allows you to configure how the currently selected trigger can be triggered.

You can select an input line or a software command as a trigger source.

Using the Feature#

Configuring a Hardware Trigger Source#

If a hardware trigger source is available on your camera model, you can set it as the source for a trigger. To do so:

  1. Set the TriggerSelector parameter to the desired trigger type, e.g., FrameStart.
  2. Set the TriggerSource parameter to one of the following values:

    • Line1, Line2, Line3, Line4: If available, the trigger selected can be triggered by applying an electrical signal to I/O line 1, 2, 3, or 4.
      If the I/O line is a GPIO line, the line must be configured for input.

Configuring a Software Trigger Source#

  1. Set the TriggerSelector parameter to the desired trigger type, e.g., FrameStart.
  2. Set the TriggerSource parameter to one of the following values (if available):
    • Software: The trigger selected can be triggered by executing a TriggerSoftware command.
    • SoftwareSignal1, SoftwareSignal2, SoftwareSignal3: The trigger selected can be triggered using the Software Signal Pulse feature.
    • Action1: The trigger selected can be triggered using the Action Commands feature.
    • Counter1Active, Counter2Active: The trigger selected can be triggered using the Counter feature. The trigger signal will be high (1) as long as the given counter is counting and low (0) as long as it is not counting.
    • Counter1Start, Counter2Start: The trigger selected can be triggered using the Counter feature. A trigger signal is sent whenever the given counter starts counting.
    • Counter1End, Counter2End: The trigger selected can be triggered using the Counter feature. A trigger signal is sent whenever the given counter stops counting.
    • Timer1Active, Timer2Active: The trigger selected can be triggered using the Timer feature. The trigger signal will be high (1) as long as the given timer is running and low (0) as long as it is not running.
    • Timer1End, Timer2End: The trigger selected can be triggered using the Timer feature. A trigger signal is sent whenever the given timer has elapsed.
    • PeriodicSignal1: The trigger selected can be triggered using the Periodic Signal feature. A trigger signal is sent repeatedly. Its period is defined by the BslPeriodicSignalPeriod parameter.
    • CXPTrigger0, CXPTrigger1: The trigger selected can be triggered by receiving a trigger signal from a CXP-12 interface card.

Specifics#

Show all camera models

Camera Model Available Hardware Trigger Sources Available Software Trigger Sources
a2A1920-51gcBAS Line 1
Line 2
Line 3
Action 1
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Periodic Signal 1
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
a2A1920-51gmBAS Line 1
Line 2
Line 3
Action 1
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Periodic Signal 1
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
a2A1920-160ucBAS Line 1
Line 2
Line 3
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
a2A1920-160umBAS Line 1
Line 2
Line 3
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
a2A3840-13gcBAS tbd tbd
a2A3840-13gmBAS tbd tbd
a2A3840-45ucBAS tbd tbd
a2A3840-45umBAS tbd tbd
acA640-90gc Line 1 Software
Action 1
acA640-90gm Line 1 Software
acA640-90uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA640-90um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA640-120gc Line 1 Software
Action 1
acA640-120gm Line 1 Software
Action 1
acA640-120uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA640-120um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA640-121gm -"Line 1" -"Line 3 -"Software" -"Action 1
acA640-300gc Line 1
Line 3
Software
Action 1
acA640-300gm -"Line 1" -"Line 3 -"Software" -"Action 1
acA640-750uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA640-750um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA720-290gc Line 1
Line 3
Software
Action 1
acA720-290gm Line 1
Line 3
Software
Action 1
acA720-520uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA720-520um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA780-75gc Line1 Software
Action 1
acA780-75gm Line 1 Software
Action 1
acA800-200gc Line 1
Line 3
Software
Action 1
acA800-200gm Line 1
Line 3
Software
Action 1
acA800-510uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA800-510um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1280-60gc Line1 Software
acA1280-60gm Line 1 Software
acA1300-22gc Line 1 Software
acA1300-22gm Line 1 Software
acA1300-30gc Line 1 Software
Action 1
acA1300-30gm Line 1 Software
Action 1
acA1300-30uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1300-30um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1300-60gc Line 1 Software
Action 1
acA1300-60gm Line 1 Software
Action 1
acA1300-60gmNIR Line 1 Software
Action 1
acA1300-75gc Line 1
Line 3
Software
Action 1
acA1300-75gm Line 1
Line 3
Software
Action 1
acA1300-200uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1300-200um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1440-73gc Line 1
Line 3
Software
Action 1
acA1440-73gm Line 1
Line 3
Software
Action 1
acA1440-220uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1440-220um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1600-20gc Line 1 Software
Action 1
acA1600-20gm Line 1 Software
Action 1
acA1600-20uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1600-20um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1600-60gc Line 1 Software
Action 1
acA1600-60gm Line 1 Software
Action 1
acA1920-25gc Line 1 Software
Action 1
acA1920-25gm Line 1 Software
Action 1
acA1920-25uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-25um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-40gc Line 1
Line 3
Software
Action 1
acA1920-40gm Line 1
Line 3
Software
Action 1
acA1920-40uc Line 1
Line 2
Line 3
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-40ucMED Line 1
Line 2
Line 3
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-40um Line 1
Line 2
Line 3
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-40umMED Line 1
Line 2
Line 3
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-48gc Line 1
Line 3
Software
Action 1
acA1920-48gm Line 1
Line 3
Software
Action 1
acA1920-50gc Line 1
Line 3
Software
Action 1
acA1920-50gm Line 1
Line 3
Software
Action 1
acA1920-150uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-150um Line 1
Line 2
Line 3
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-155uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-155ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-155um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA1920-155umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2000-50gc Line 1 Software
Action 1
acA2000-50gm Line 1 Software
Action 1
acA2000-50gmNIR Line 1 Software
Action 1
acA2000-165uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2000-165um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2000-165umNIR Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-25gc Line 1 Software
Action 1
acA2040-25gm Line 1 Software
Action 1
acA2040-25gmNIR Line 1 Software
Action 1
acA2040-35gc Line 1
Line 3
Software
Action 1
acA2040-35gm Line 1
Line 3
Software
Action 1
acA2040-55uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-55um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-90uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-90um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-90umNIR Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-120uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2040-120um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-20gc Line 1
Line 3
Software
Action 1
acA2440-20gm Line 1
Line 3
Software
Action 1
acA2440-35uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-35ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-35um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-35umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-75uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-75ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-75um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2440-75umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2500-14gc Line 1 Software
Action 1
acA2500-14gm Line 1 Software
Action 1
acA2500-14uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2500-14um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2500-20gc Line 1
Line 3
Software
Action 1
acA2500-20gcMED Line 1
Line 3
Software
Action 1
acA2500-20gm Line 1
Line 3
Software
Action 1
acA2500-20gmMED Line 1
Line 3
Software
Action 1
acA2500-60uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA2500-60um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA3088-16gc Line 1
Line 3
Software
Action 1
acA3088-16gm Line 1
Line 3
Software
Action 1
acA3088-57uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA3088-57um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA3800-10gc Line 1
Line 3
Software
Action 1
acA3800-10gm Line 1
Line 3
Software
Action 1
acA3800-14uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA3800-14um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4024-8gc Line 1
Line 3
Software
Action 1
acA4024-8gm Line 1
Line 3
Software
Action 1
acA4024-29uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4024-29um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-11gc Line 1
Line 3
Software
Action 1
acA4096-11gm Line 1
Line 3
Software
Action 1
acA4096-30uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-30ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-30um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-30umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-40uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-40ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-40um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4096-40umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-8gc Line 1
Line 3
Software
Action 1
acA4112-8gm Line 1
Line 3
Software
Action 1
acA4112-20uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-20ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-20um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-20umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-30uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-30ucMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-30um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4112-30umMED Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA4600-7gc Line 1 Software
Action 1
acA4600-10uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA5472-5gc Line 1
Line 3
Software
Action 1
acA5472-5gm Line 1
Line 3
Software
Action 1
acA5472-17uc Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
acA5472-17um Line 1
Line 3
Line 4
Software
Software Signal 1
Software Signal 2
Software Signal 3 (on some camera models)
boA4096-93cc Line 1
Line 2
Line 3
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
CXP Trigger 1
CXP Trigger 2
boA4096-93cm Line 1
Line 2
Line 3
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
CXP Trigger 0
CXP Trigger 1
boA4112-68cc Line 1
Line 2
Line 3
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
CXP Trigger 0
CXP Trigger 1
boA4112-68cm Line 1
Line 2
Line 3
Counter 1 Active
Counter 1 End
Counter 1 Start
Counter 2 Active
Counter 2 End
Counter 2 Start
Timer 1 Active
Timer 1 End
Timer 2 Active
Timer 2 End
Software
Software Signal 1
Software Signal 2
Software Signal 3
CXP Trigger 0
CXP Trigger 1
daA1280-54lc Line 1
Line 2
Software
daA1280-54lm Line 1
Line 2
Software
daA1280-54uc Line 1
Line 2
Software
daA1280-54um Line 1
Line 2
Software
daA1600-60lc Line 1
Line 2
Software
daA1600-60lm Line 1
Line 2
Software
daA1600-60uc Line 1
Line 2
Software
daA1600-60um Line 1
Line 2
Software
daA1920-15um Line 1
Line 2
Software
daA1920-30uc Line 1
Line 2
Software
daA1920-30um Line 1
Line 2
Software
daA2500-14lc Line 1
Line 2
Software
daA2500-14lm Line 1
Line 2
Software
daA2500-14uc Line 1
Line 2
Software
daA2500-14um Line 1
Line 2
Software
daA2500-60mc Trigger Source feature not supported Trigger Source feature not supported
puA1280-54uc None Software
puA1280-54um None Software
puA1600-60uc None Software
puA1600-60um None Software
puA1920-30uc None Software
puA1920-30um None Software
puA2500-14uc None Software
puA2500-14um None Software

Sample Code#

// Select the Frame Start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameStart);
// Set the trigger source to Line 1
camera.TriggerSource.SetValue(TriggerSource_Line1);
INodeMap& nodemap = camera.GetNodeMap();
// Select the Frame Start trigger
CEnumerationPtr(nodemap.GetNode("TriggerSelector"))->FromString("FrameStart");
// Set the trigger source to Line 1
CEnumerationPtr(nodemap.GetNode("TriggerSource"))->FromString("Line1");
INodeMap& nodemap = camera.GetNodeMap();
// Select the Frame Start trigger
CEnumParameter(nodemap, "TriggerSelector").SetValue("FrameStart");
// Set the trigger source to Line 1
CEnumParameter(nodemap, "TriggerSource").SetValue("Line1");
// Select the Frame Start trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.FrameStart);
// Set the trigger source to Line 1
camera.Parameters[PLCamera.TriggerSource].SetValue(PLCamera.TriggerSource.Line1);
// Select the Frame Start trigger
Pylon.DeviceFeatureFromString(hdev, "TriggerSelector", "FrameStart");
// Set the trigger source to Line 1
Pylon.DeviceFeatureFromString(hdev, "TriggerSource", "Line1");
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Select the Frame Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSelector", "FrameStart");
CHECK(errRes);
/* Set the trigger source to Line 1 */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSource", "Line1");
CHECK(errRes);

You can also use the pylon Viewer to easily set the parameters.