Supported by...
PL-B700 & PL-B900 series cameras and board-level imaging modules
PL-B740, 760, and 950 series support Trigger Modes 0, 1, 2, 3 and 14
PL-B770 series supports Trigger Modes 0 and 14
PL-B780 series supports only Trigger Mode 0
PL-D enclosed trigger and board-level cameras
Most PL-D cameras support modes 0, 1, and 14
PL-D726 and PL-D7620 support only mode 0
PL-D7715 and PL-D7718 supports only modes 0 and 14
Note:
- PL-D729 does not support software or hardware trigger.
- For PL-D Sony sensor cameras, Programmable Delay is ignored (always 0), when it is used with Trigger Mode 0 or Trigger Mode 1, type Hardware.
- For PL-D Sony sensor cameras, Trigger Mode 1 is not supported when using Fixed Frame Rate mode.
PL-X enclosed and board-level cameras
PL-X cameras support modes 0, 1 and 14
Note:
- For all PL-X cameras, Programmable Delay is ignored (always 0), when it is used with Trigger Mode 0 or Trigger Mode 1, type Hardware.
- PL-X9520 and PL-X9524 cameras do not support software or hardware trigger in Fixed Frame Rate mode.
- For other PL-X cameras, Trigger Mode 1 is not supported when using Fixed Frame Rate mode.
Description
Trigger controls the response of the camera to an external trigger input. Trigger functionality is required for industrial and machine vision applications where the timing of the image capture is determined by external events. The trigger can operate in a number of modes which provide flexibility when interfacing the camera with external equipment. The modes are defined below and are consistent with the IIDC specification.
The trigger can be considered an event rather than just an external signal. The type of the event can also be defined as hardware (an external electrical signal), free-running (an internal generated signal), or software generated.
Trigger Polarity
The polarity of the trigger determines whether the trigger event is declared on the falling or rising edge of the trigger signal and it depends on a camera internal hardware trigger implementation.
All PL-B cameras, PL-D and PL-X enclosed cameras
The PL-B enclosed and board-level as well as the PL-D and PL-X enclosed cameras have optically isolated inputs and outputs, which drive or are driven by TTL logic levels. For triggering these camera models on the Rising edge, the polarity of the trigger should be set to Positive (Active High). Please refer to the Hardware articles below for the mechanical & electrical interface to the trigger signals, to get a proper understanding of polarity
- Trigger and GPOs - PL-B700/900 Series
- Trigger and GPIO - PL-D700 Series Enclosed Cameras
- Trigger and GPIO - PL-X900 Series Enclosed Cameras
PL-D and PL-X board-level cameras
The PL-D and PL-X board-level cameras are driven by the same TTL logic as the PL-D and PL-X enclosed cameras. However, for triggering these cameras on the Rising edge, the polarity of the trigger should be set to Negative (Active Low) since the optic isolation circuits are not present. Please refer to the following articles for the mechanical & electrical interface to the trigger signals of the PL-D and PL-X board-level cameras, to get a proper understanding of polarity
Trigger Delay
The delay referred to in the feature controls below is a programmable delay. To determine the full electrical propagation delay, consult the trigger timing diagram.
Trigger with Controlled Lighting
For cameras with the rolling shutter such as: PL-B770 models, PL-B780 models, PL-D726, and PL-D775, refer to Trigger with Controlled Lighting article.
Additional Information
Note:
- Minimum trigger pulse duration must be at least 300 us, otherwise trigger pulses might be ignored. This can happen, when camera settings are updated while a camera is streaming.
For additional information, please refer to the following knowledge base sections
- Trigger and GPOs - PL-B700/900 Series
- Trigger and GPOs - PL-D700 Series
- Trigger and GPOs - PL-X900 Series
API Control
Feature | Number of Params | Parameters | Units | Restrictions |
FEATURE_TRIGGER Trigger delay and mode control | 5 | fMode | N/A | Integer only |
fType | N/A | Integer only (see Trigger Type). | ||
fPolarity | N/A | 0 for negative polarity (Active Low); 1 for positive polarity (Active High) | ||
fDelay | Seconds | Programmable Delay. For more info see the timing diagrams. | ||
fParameter | Depends on mode | N/A |
Note: The stream state must be off (STREAM_OFF) to modify this feature. See PxLSetStreamState.
Feature Flags
Camera | Presence | Read Only | Auto | Manual | One-time Auto | Off | CID |
700 & 900 Series | Yes | No | No | Yes | No | Yes | Yes |
Trigger Modes
Trigger Mode Definitions:
In the following explanation, trigger input is in case of 'Low Active'. (Trigger_Polarity = 0)
Trigger Mode 0:
The camera starts integration of the incoming light from the external trigger input falling edge. Integration time is defined by the Shutter feature. No parameter is needed.
Trigger Mode 1:
The camera starts integration of the incoming light from the external trigger input falling edge. Integration time is equal to the low state time of the external trigger input. The value of the Shutter feature is ignored. No parameter is needed.
Trigger Mode 2:
The camera starts integration of incoming light from the first external trigger input falling edge. At the N-th (parameter) external trigger input falling edge, integration will be stopped. Parameter is required and shall be two or more. (N>=2)
Trigger mode 3:
This is an internal trigger mode. The camera will issue the trigger internally, the cycle time equal to N (Parameter) times the cycle time of the fastest frame rate. The integration time of the incoming light is defined by the Shutter feature. Parameter is required and shall be one or more (N>=1). This effectively reduces the frame rate of the camera by 1/N without reducing the speed of communication on the bus.
Exposure duration is defined by the Shutter feature
Trigger Mode 14:
The camera will capture N (parameter) frames after a trigger at the integration time and frame rate specified by the Shutter and Frame Rate Features.
Trigger Types
Defined in PixeLINKTypes.h
Value | Description |
TRIGGER_TYPE_SOFTWARE | Frames are output when PxLGetNextFrame is called, which generates a software trigger (using the IIDC ONE_SHOT feature). |
TRIGGER_TYPE_HARDWARE | Frames are output on receipt of valid external hardware triggers. |
TRIGGER_TYPE_FREE_RUNNING *Only supported on PL-A/B USB2.0 and FireWire Cameras. | Frames are output continuously, driven by an internal trigger that occurs as frequently as possible. Useful for testing software expecting triggered images, when an external trigger is unavailable. This should not be used instead of untriggered streaming. |
TRIGGER_TYPE_ACTION | Enables the frame acquisition action. When an action command is received, the camera will output one or more frames, according to the trigger settings. See: Action Type |
Parameters
Camera | Parameter | Unit | Type | Min | Max | Default | Step Size | Comments |
PL-X 957, 9512, 9520, 9524 | Mode | None | Absolute | 0 | 14 | 0 | 1 | Supports Trigger Modes 0, 1, and 14. |
Type | None | Absolute | 1 | 3 | 1 | 1 | 1: Software, 2: Hardware, 3: Action | |
Polarity | None | Absolute | 0 | 1 | 1 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000000001 | Delay from trigger detection to start of integration. | |
Parameter | None | Absolute | 0 | 1000 | 0 | 1 | Used in Trigger Mode 14. | |
PL-D 721, 721P, 722, 725, 732, 734, 752, 753, 755(POL), 757, 759, 7512, 795, 797, 799, 7912, 7920, 7924, 775 | Mode | None | Absolute | 0 | 14 | 0 | 1 | Supports Trigger Modes 0, 1, and 14. |
Type | None | Absolute | 1 | 2 | 1 | 1 | 1: Software, 2: Hardware | |
Polarity | None | Absolute | 0 | 1 | 1 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000000001 | Delay from trigger detection to start of integration. | |
Parameter | None | Absolute | 0 | 1000 | 0 | 1 | Used in Trigger Mode 14. | |
PL-D 726, 7620 | Mode | None | Absolute | 0 | 0 | 0 | 0 | Supports Trigger Mode 0. |
Type | None | Absolute | 1 | 2 | 1 | 1 | 1: Software, 2: Hardware | |
Polarity | None | Absolute | 0 | 1 | 1 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000000001 | Delay from trigger detection to start of integration. | |
Parameter | Not supported. | |||||||
PL-D 7715 | Mode | None | Absolute | 0 | 14 | 0 | 1 | Supports Trigger Modes 0 and 14. |
Type | None | Absolute | 1 | 2 | 1 | 1 | 1: Software, 2: Hardware | |
Polarity | None | Absolute | 0 | 1 | 1 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000000001 | Delay from trigger detection to start of integration. | |
Parameter | None | Absolute | 1 | 1000 | 1 | 1 | Used in Trigger Mode 14. | |
PL-D 7718 | Mode | None | Absolute | 0 | 14 | 0 | 1 | Supports Trigger Modes 0 and 14. |
Type | None | Absolute | 1 | 2 | 1 | 1 | 1: Software, 2: Hardware | |
Polarity | None | Absolute | 0 | 1 | 1 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000000001 | Delay from trigger detection to start of integration. | |
Parameter | None | Absolute | 1 | 1000 | 1 | 1 | Used in Trigger Mode 14. | |
PL-B 740, 950 | Mode | None | Absolute | 0 | 14 | 0 | 0 | Supports Trigger Modes 0, 1, 2, 3 and 14 |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration. | |
Parameter | Varies with trigger mode | |||||||
PL-B 760 | Mode | None | Absolute | 0 | 14 | 0 | 1 | Supports Trigger Modes 0, 1, 2, 3 and 14. |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration. | |
Parameter | Varies with Trigger Mode | |||||||
PL-B 770 | Mode | None | Absolute | 0 | 14 | 0 | 1 | Supports Trigger Modes 0 and 14 |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration | |
Parameter | Varies with trigger mode | |||||||
PL-B 780 | Mode | None | Absolute | 0 | 0 | 0 | 0 | Supports Trigger Modes 0. |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration. | |
Parameter | Varies with trigger mode. | |||||||
PL-E 950 | Mode | None | Absolute | 0 | 0 | 0 | 1 | Supports Trigger Modes 0 and 1. |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration. | |
Parameter | No parameter required for Trigger Mode 0. | |||||||
PL-H 960 | Mode | None | Absolute | 0 | 1 | 0 | 0 | Supports Trigger Modes 0 and 1. |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration. | |
Parameter | No parameter required for trigger mode 0 and 1. | |||||||
PL-C 720 | Mode | None | Absolute | 0 | 14 | 0 | 0 | Supports Trigger Modes 0, 1, 2 and 14. |
Source | None | Absolute | 0 | 1 | 0 | 1 | 0: External, 1: Internal | |
Polarity | None | Absolute | 0 | 1 | 0 | 1 | 0: Negative, 1: Positive | |
Delay | Seconds | Absolute | 0.0 | 2.5 | 0 | 0.000001 | Delay from trigger detection to start of integration. | |
Parameter | Varies with trigger mode. |