Trigger Mode#

The Trigger Mode camera feature allows you to enable or disable triggered image acquisition for the trigger type selected.

Using the Feature#

Setting the Trigger Mode#

To set the trigger mode:

  1. Set the TriggerSelector parameter to the desired trigger type, e.g., FrameStart.
  2. Set the TriggerMode parameter to one of the following values:
    • On: Enables triggered image acquisition for the trigger type selected.
    • Off: Disables triggered image acquisition for the trigger type selected. Trigger signals are generated automatically by the camera.

By default, the trigger mode is set to Off for all trigger types. This means that free run image acquisition is enabled.

Immediate Trigger Mode#

On some camera models, the Immediate Trigger Mode is available.

When the Immediate Trigger Mode is enabled, exposure starts immediately after triggering, but changes to image parameters become effective with a short delay, i.e., after one or more images have been acquired. This is useful if you want to minimize the exposure start delay, i.e., if you want to start image acquisition as soon as possible, and if your imaging conditions are stable.

To enable the Immediate Trigger Mode, set the BslImmediateTriggerMode parameter to On.

The setting takes effect whenever the TriggerMode parameter is set to On.

Specifics#

Show all camera models

Camera Model Immediate Trigger Mode
a2A1920-51gcBAS Not available
a2A1920-51gcPRO Not available
a2A1920-51gmBAS Not available
a2A1920-51gmPRO Not available
a2A1920-160ucBAS Not available
a2A1920-160ucPRO Not available
a2A1920-160umBAS Not available
a2A1920-160umPRO Not available
a2A3840-13gcBAS Not available
a2A3840-13gmBAS Not available
a2A3840-45ucBAS Not available
a2A3840-45umBAS Not available
acA640-90gc Not available
acA640-90gm Not available
acA640-90uc Not available
acA640-90um Not available
acA640-120gc Not available
acA640-120gm Not available
acA640-120uc Not available
acA640-120um Not available
acA640-121gm Not available
acA640-300gc Not available
acA640-300gm Not available
acA640-750uc Not available
acA640-750um Not available
acA720-290gc Not available
acA720-290gm Not available
acA720-520uc Not available
acA720-520um Not available
acA780-75gc Not available
acA780-75gm Not available
acA800-200gc Not available
acA800-200gm Not available
acA800-510uc Not available
acA800-510um Not available
acA1280-60gc Not available
acA1280-60gm Not available
acA1300-22gc Not available
acA1300-22gm Not available
acA1300-30gc Not available
acA1300-30gm Not available
acA1300-30uc Not available
acA1300-30um Not available
acA1300-60gc Not available
acA1300-60gm Not available
acA1300-60gmNIR Not available
acA1300-75gc Not available
acA1300-75gm Not available
acA1300-200uc Not available
acA1300-200um Not available
acA1440-73gc Not available
acA1440-73gm Not available
acA1440-220uc Not available
acA1440-220um Not available
acA1600-20gc Not available
acA1600-20gm Not available
acA1600-20uc Not available
acA1600-20um Not available
acA1600-60gc Not available
acA1600-60gm Not available
acA1920-25gc Not available
acA1920-25gm Not available
acA1920-25uc Not available
acA1920-25um Not available
acA1920-40gc Not available
acA1920-40gm Not available
acA1920-40uc Not available
acA1920-40ucMED Not available
acA1920-40um Not available
acA1920-40umMED Not available
acA1920-48gc Not available
acA1920-48gm Not available
acA1920-50gc Not available
acA1920-50gm Not available
acA1920-150uc Not available
acA1920-150um Not available
acA1920-155uc Not available
acA1920-155ucMED Not available
acA1920-155um Not available
acA1920-155umMED Not available
acA2000-50gc Not available
acA2000-50gm Not available
acA2000-50gmNIR Not available
acA2000-165uc Not available
acA2000-165um Not available
acA2000-165umNIR Not available
acA2040-25gc Not available
acA2040-25gm Not available
acA2040-25gmNIR Not available
acA2040-35gc Not available
acA2040-35gm Not available
acA2040-55uc Not available
acA2040-55um Not available
acA2040-90uc Not available
acA2040-90um Not available
acA2040-90umNIR Not available
acA2040-120uc Not available
acA2040-120um Not available
acA2440-20gc Not available
acA2440-20gm Not available
acA2440-35uc Not available
acA2440-35ucMED Not available
acA2440-35um Not available
acA2440-35umMED Not available
acA2440-75uc Not available
acA2440-75ucMED Not available
acA2440-75um Not available
acA2440-75umMED Not available
acA2500-14gc Not available
acA2500-14gm Not available
acA2500-14uc Not available
acA2500-14um Not available
acA2500-20gc Not available
acA2500-20gcMED Not available
acA2500-20gm Not available
acA2500-20gmMED Not available
acA2500-60uc Not available
acA2500-60um Not available
acA3088-16gc Not available
acA3088-16gm Not available
acA3088-57uc Not available
acA3088-57um Not available
acA3800-10gc Not available
acA3800-10gm Not available
acA3800-14uc Not available
acA3800-14um Not available
acA4024-8gc Not available
acA4024-8gm Not available
acA4024-29uc Not available
acA4024-29um Not available
acA4096-11gc Not available
acA4096-11gm Not available
acA4096-30uc Not available
acA4096-30ucMED Not available
acA4096-30um Not available
acA4096-30umMED Not available
acA4096-40uc Not available
acA4096-40ucMED Not available
acA4096-40um Not available
acA4096-40umMED Not available
acA4112-8gc Not available
acA4112-8gm Not available
acA4112-20uc Not available
acA4112-20ucMED Not available
acA4112-20um Not available
acA4112-20umMED Not available
acA4112-30uc Not available
acA4112-30ucMED Not available
acA4112-30um Not available
acA4112-30umMED Not available
acA4600-7gc Not available
acA4600-10uc Not available
acA5472-5gc Not available
acA5472-5gm Not available
acA5472-17uc Not available
acA5472-17um Not available
boA4096-93cc Not available
boA4096-93cm Not available
boA4112-68cc Not available
boA4112-68cm Not available
daA1280-54lc Available
daA1280-54lm Available
daA1280-54uc Available
daA1280-54um Available
daA1600-60lc Not available
daA1600-60lm Not available
daA1600-60uc Not available
daA1600-60um Not available
daA1920-15um Available
daA1920-30uc Available
daA1920-30um Available
daA2500-14lc Available
daA2500-14lm Available
daA2500-14uc Available
daA2500-14um Available
daA2500-60mc Not available
puA1280-54uc Available
puA1280-54um Available
puA1600-60uc Not available
puA1600-60um Not available
puA1920-30uc Available
puA1920-30um Available
puA2500-14uc Available
puA2500-14um Available

Sample Code#

// Select the Frame Start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameStart);
// Enable triggered image acquisition for the Frame Start trigger
camera.TriggerMode.SetValue(TriggerMode_On);
INodeMap& nodemap = camera.GetNodeMap();
// Select the Frame Start trigger
CEnumerationPtr(nodemap.GetNode("TriggerSelector"))->FromString("FrameStart");
// Enable triggered image acquisition for the Frame Start trigger
CEnumerationPtr(nodemap.GetNode("TriggerMode"))->FromString("On");
INodeMap& nodemap = camera.GetNodeMap();
// Select the Frame Start trigger
CEnumParameter(nodemap, "TriggerSelector").SetValue("FrameStart");
// Enable triggered image acquisition for the Frame Start trigger
CEnumParameter(nodemap, "TriggerMode").SetValue("On");
// Select the Frame Start trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.FrameStart);
// Enable triggered image acquisition for the Frame Start trigger
camera.Parameters[PLCamera.TriggerMode].SetValue(PLCamera.TriggerMode.On);
// Select the Frame Start trigger
Pylon.DeviceFeatureFromString(hdev, "TriggerSelector", "FrameStart");
// Enable triggered image acquisition for the Frame Start trigger
Pylon.DeviceFeatureFromString(hdev, "TriggerMode", "On");
/* 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);
/* Enable triggered image acquisition for the Frame Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerMode", "On");
CHECK(errRes);

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