Exposure Mode#
Using the Feature#
Setting the Exposure Mode#
To set the exposure mode:
- Set the
TriggerSelector
parameter toFrameStart
.
On racer 2 cameras, set theTriggerSelector
parameter toLineStart
. - Set the
TriggerMode
parameter toOn
. - Set the
TriggerSource
parameter to one of the available hardware trigger sources, e.g.,Line1
. - Set the
ExposureMode
parameter to one of the following values:
Available Exposure Modes#
Timed Exposure Mode#
In this mode, the length of exposure is defined by the value of the camera's Exposure Time setting.
If the camera is configured for software triggering, exposure starts when the software trigger signal is received and continues until the exposure time has expired.
If the camera is configured for hardware triggering, the following applies:
-
If rising edge triggering is enabled, exposure starts when the trigger signal rises and continues until the exposure time has expired.
-
If falling edge triggering is enabled, exposure starts when the trigger signal falls and continues until the exposure time has expired.
Info
If the Timed exposure mode is enabled, don't attempt to trigger a new exposure start while the previous exposure is still in progress. Otherwise, the trigger signal will be ignored, and a Frame Start Overtrigger event will be generated.
This scenario is illustrated below for rising edge triggering.
Trigger Width Exposure Mode#
In this mode, the length of exposure is defined by the width of the hardware trigger signal. This is useful if you intend to vary the length of exposure for each captured frame.
If the camera is configured for rising edge triggering, exposure starts when the trigger signal rises and continues until the trigger signal falls:
If the camera is configured for falling edge triggering, exposure starts when the trigger signal falls and continues until the trigger signal rises:
Info
If the Trigger Width exposure mode is enabled, consider the following:
-
Don't send trigger signals at a too high rate. Otherwise, trigger signals will be ignored, and Frame Start Overtrigger events will be generated.
You can avoid overtriggering in Trigger Width exposure mode by doing the following:
- Monitor the camera's Frame Trigger Wait signal and only apply a Frame Start trigger signal when the Frame Trigger Wait signal is high.
- If the Exposure Overlap Time Max parameter is available, set it to the smallest exposure time you intend to use.
-
Make sure that the length of exposure isn't shorter than the minimum exposure time given for your camera model. Otherwise, the camera may show unpredictable behavior.
Trigger Controlled Exposure Mode#
In this mode, the length of exposure is defined by applying Exposure Start and Exposure End trigger signals to the camera.
The trigger signals can be controlled via any available trigger source.
Example:
You enable Trigger Controlled exposure mode. You set the trigger source for the Exposure Start trigger to Line1
and the trigger source for the Exposure End trigger to Line2
.
Now, you can start the exposure by applying a hardware trigger signal on Line 1 and stop the exposure by applying a hardware trigger signal on Line 2.
You can find sample code for this configuration below.
Info
If the Trigger Controlled exposure mode is enabled, make sure that the length of exposure isn't shorter than the minimum exposure time given for your camera model. Otherwise, the camera may show unpredictable behavior.
Exposure Time Offset#
On some camera models, the exposure is slightly longer than the width of the trigger signal. This is because an exposure time offset is added automatically to the time determined by the width of the trigger signal.
To achieve the desired exposure time, you must compensate for the exposure time offset. To do so:
- Subtract the exposure time offset from the desired exposure time.
- Use the resulting time as the high or low time for the trigger signal.
Example: To achieve an exposure time of 3000 µs and the exposure time offset is 64 µs, use 3000 - 64 = 2936 µs as the high or low time for the trigger signal.
Specifics#
Camera Model | Available Exposure Modes | Exposure Time Offset [µs] |
---|---|---|
a2A640-240gmSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A640-240umSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A1280-80gmSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A1280-125umSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A1920-51gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-51gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-51gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-51gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-160ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-160ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-160umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-160umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-165g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A1920-165g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
a2A2048-35gmSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A2048-110umSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A2440-98g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2440-98g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-23gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-23gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-23gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-23gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-75ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-75ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-75umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-75umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-105g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-105g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-120cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-120cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-210cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2448-210cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2560-20gmSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A2560-70umSWIR | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 7.37 |
a2A2590-22gcBAS | Timed | Timed: Not specified |
a2A2590-22gcPRO | Timed | Timed: Not specified |
a2A2590-22gmBAS | Timed | Timed: Not specified |
a2A2590-22gmPRO | Timed | Timed: Not specified |
a2A2590-60ucBAS | Timed | Timed: Not specified |
a2A2590-60ucPRO | Timed | Timed: Not specified |
a2A2590-60umBAS | Timed | Timed: Not specified |
a2A2590-60umPRO | Timed | Timed: Not specified |
a2A2600-20gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-20gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-20gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-20gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-64ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-64ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-64umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2600-64umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A2840-14gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-14gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-14gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-14gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-14gmUV | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.47 Trigger Controlled: 2.47 |
a2A2840-48ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-48ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-48umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-48umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-48umUV | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.47 Trigger Controlled: 2.47 |
a2A2840-67g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-67g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-67g5mUV | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.47 Trigger Controlled: 2.47 |
a2A2840-86cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A2840-86cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A3840-13gcBAS | Timed | Timed: Not specified |
a2A3840-13gcPRO | Timed | Timed: Not specified |
a2A3840-13gmBAS | Timed | Timed: Not specified |
a2A3840-13gmPRO | Timed | Timed: Not specified |
a2A3840-45ucBAS | Timed | Timed: Not specified |
a2A3840-45ucPRO | Timed | Timed: Not specified |
a2A3840-45umBAS | Timed | Timed: Not specified |
a2A3840-45umPRO | Timed | Timed: Not specified |
a2A4096-9gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-9gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-9gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-9gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-30ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-30ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-30umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-30umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-44g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-44g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-67cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4096-67cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4200-12gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-12gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-12gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-12gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-40ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-40ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-40umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4200-40umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4504-5gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-5gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-5gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-5gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-18ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-18ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-18umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-18umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-27g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-27g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-42cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4504-42cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A4508-6gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-6gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-6gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-6gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-20ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-20ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-20umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A4508-20umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.5 Trigger Controlled: 1.5 |
a2A5320-7gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-7gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-7gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-7gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-23ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-23ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-23umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-23umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-34g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-34g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-52cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5320-52cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-4gcBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-4gcPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-4gmBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-4gmPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-15ucBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-15ucPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-15umBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-15umPRO | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-22g5cBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-22g5mBAS | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-35cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
a2A5328-35cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
acA640-121gm | Timed Trigger Width | Timed: Not specified Trigger Width: 13 |
acA640-300gc | Timed Trigger Width | Timed: Not specified Trigger Width: 64 |
acA640-300gm | Timed Trigger Width | Timed: Not specified Trigger Width: 64 |
acA640-750uc | Timed Trigger Width | Timed: Not specified Trigger Width: 32 |
acA640-750um | Timed Trigger Width | Timed: Not specified Trigger Width: 32 |
acA720-290gc | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA720-290gm | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA720-520uc | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA720-520um | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA800-200gc | Timed Trigger Width | Timed: Not specified Trigger Width: 64 |
acA800-200gm | Timed Trigger Width | Timed: Not specified Trigger Width: 64 |
acA800-510uc | Timed Trigger Width | Timed: Not specified Trigger Width: 32 |
acA800-510um | Timed Trigger Width | Timed: Not specified Trigger Width: 32 |
acA1280-60gc | Timed | Not specified |
acA1280-60gm | Timed | Not specified |
acA1300-60gc | Timed | Not specified |
acA1300-60gm | Timed | Not specified |
acA1300-60gmNIR | Timed | Not specified |
acA1300-75gc | Timed Trigger Width | Timed: Not specified Trigger Width: 64 |
acA1300-75gm | Timed Trigger Width | Timed: Not specified Trigger Width: 64 |
acA1300-200uc | Timed Trigger Width | Timed: Not specified Trigger Width: 32 |
acA1300-200um | Timed Trigger Width | Timed: Not specified Trigger Width: 32 |
acA1440-73gc | Timed Trigger Width | Timed: Not specified Trigger Width: 13 |
acA1440-73gm | Timed Trigger Width | Timed: Not specified Trigger Width: 13 |
acA1440-220uc | Timed Trigger Width | Timed: Not specified Trigger Width: 13 |
acA1440-220um | Timed Trigger Width | Timed: Not specified Trigger Width: 13 |
acA1600-20gc | Timed Trigger Width | Not specified |
acA1600-20uc | Timed Trigger Width | Not specified |
acA1600-60gc | Timed | Not specified |
acA1600-60gm | Timed | Not specified |
acA1920-25gc | Timed | Not specified |
acA1920-25gm | Timed | Not specified |
acA1920-25uc | Timed | Not specified |
acA1920-25um | Timed | Not specified |
acA1920-40gc | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA1920-40gm | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA1920-40uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA1920-40ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA1920-40um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA1920-40umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA1920-48gc | Timed Trigger Width | Not specified |
acA1920-48gm | Timed Trigger Width | Not specified |
acA1920-50gc | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA1920-50gm | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA1920-150uc | Timed Trigger Width | Timed: Not specified Trigger Width: 65 / 56.5a |
acA1920-150um | Timed Trigger Width | Timed: Not specified Trigger Width: 65 / 56.5a |
acA1920-155uc | Timed | Timed: Not specified Trigger Width: 15 |
acA1920-155ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA1920-155um | Timed | Timed: Not specified Trigger Width: 15 |
acA1920-155umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2000-50gc | Timed Trigger Width | Timed: Not specified Trigger Width: 37 |
acA2000-50gm | Timed Trigger Width | Timed: Not specified Trigger Width: 37 |
acA2000-165uc | Timed Trigger Width | Timed: 28b Trigger Width: 28b |
acA2000-165um | Timed Trigger Width | Timed: 28b Trigger Width: 28b |
acA2040-25gc | Timed Trigger Width | Timed: Not specified Trigger Width: 37 |
acA2040-25gm | Timed Trigger Width | Timed: Not specified Trigger Width: 37 |
acA2040-25gmNIR | Timed Trigger Width | Timed: Not specified Trigger Width: 37 |
acA2040-35gc | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA2040-35gm | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA2040-55uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2040-55um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2040-90uc | Timed Trigger Width | Timed: 28b Trigger Width: 28b |
acA2040-90um | Timed Trigger Width | Timed: 28b Trigger Width: 28b |
acA2040-90umNIR | Timed Trigger Width | Timed: 28b Trigger Width: 28b |
acA2040-120uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2040-120um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-20gc | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA2440-20gm | Timed Trigger Width | Timed: Not specified Trigger Width: 14 |
acA2440-35uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-35ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-35um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-35umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-75uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-75ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-75um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2440-75umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA2500-14gc | Timed | Not specified |
acA2500-14gm | Timed | Not specified |
acA2500-14uc | Timed | Not specified |
acA2500-14um | Timed | Not specified |
acA2500-20gc | Timed Trigger Width | Not specified |
acA2500-20gcMED | Timed Trigger Width | Not specified |
acA2500-20gm | Timed Trigger Width | Not specified |
acA2500-20gmMED | Timed Trigger Width | Not specified |
acA2500-60uc | Timed Trigger Width | Timed: Not specified Trigger Width: 37 / 56.5a |
acA2500-60um | Timed Trigger Width | Timed: Not specified Trigger Width: 37 / 56.5a |
acA3088-16gc | Timed | Not specified |
acA3088-16gm | Timed | Not specified |
acA3088-57uc | Timed | Not specified |
acA3088-57ucMED | Timed | Not specified |
acA3088-57um | Timed | Not specified |
acA3088-57umMED | Timed | Not specified |
acA3800-10gc | Timed | Not specified |
acA3800-10gm | Timed | Not specified |
acA3800-14uc | Timed | Not specified |
acA3800-14um | Timed | Not specified |
acA4024-8gc | Timed | Not specified |
acA4024-8gm | Timed | Not specified |
acA4024-29uc | Timed | Not specified |
acA4024-29um | Timed | Not specified |
acA4096-11gc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-11gm | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-30uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-30ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-30um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-30umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-40uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-40ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-40um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4096-40umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-8gc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-8gm | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-20uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-20ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-20um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-20umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-30uc | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-30ucMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-30um | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA4112-30umMED | Timed Trigger Width | Timed: Not specified Trigger Width: 15 |
acA5472-5gc | Timed | Not specified |
acA5472-5gm | Timed | Not specified |
acA5472-17uc | Timed | Not specified |
acA5472-17ucMED | Timed | Not specified |
acA5472-17um | Timed | Not specified |
acA5472-17umMED | Timed | Not specified |
boA1936-400cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 5 Trigger Controlled: 5 |
boA1936-400cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 5 Trigger Controlled: 5 |
boA2448-250cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA2448-250cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA2832-190cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA2832-190cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA4096-93cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 15.5 Trigger Controlled: 15.5 |
boA4096-93cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 15.5 Trigger Controlled: 15.5 |
boA4096-180cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA4096-180cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA4112-68cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 15.5 Trigger Controlled: 15.5 |
boA4112-68cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 15.5 Trigger Controlled: 15.5 |
boA4500-45cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA4500-45cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA4504-100cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA4504-100cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA5120-150cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 8 Trigger Controlled: 8 |
boA5120-150cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 8 Trigger Controlled: 8 |
boA5120-230cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA5120-230cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA5320-150cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA5320-150cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA5328-100cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA5328-100cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3 Trigger Controlled: 3 |
boA6500-36cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA6500-36cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA8100-16cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA8100-16cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 0 Trigger Controlled: 0 |
boA9344-30cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 12 Trigger Controlled: 12 |
boA9344-30cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 12 Trigger Controlled: 12 |
boA9344-70cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 12 Trigger Controlled: 12 |
boA9344-70cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 12 Trigger Controlled: 12 |
boA13440-17cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 539 / 521 / 502[^d] Trigger Controlled: 539 / 521 / 502[^d] |
daA720-520uc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA720-520um | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA1280-54uc | Timed | Not specified |
daA1280-54um | Timed | Not specified |
daA1440-220uc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA1440-220um | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA1600-60uc | Timed | Not specified |
daA1600-60um | Timed | Not specified |
daA1920-15um | Timed Trigger Widthc | Not specified |
daA1920-30uc | Timed Trigger Widthc | Not specified |
daA1920-30um | Timed Trigger Widthc | Not specified |
daA1920-160uc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA1920-160um | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA2448-70uc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA2448-70um | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 13.73 |
daA2500-14uc | Timed Trigger Widthc | Not specified |
daA2500-14um | Timed Trigger Widthc | Not specified |
daA3840-45uc | Timed | Timed: Not specified |
daA3840-45um | Timed | Timed: Not specified |
dmA720-290gc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 14 |
dmA720-290gm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 14 |
dmA1440-73gc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 14 |
dmA1440-73gm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 14 |
dmA1920-51gc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 14 |
dmA1920-51gm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 14 |
puA1280-54uc | Timed | Not specified |
puA1280-54um | Timed | Not specified |
puA1600-60uc | Timed | Not specified |
puA1600-60um | Timed | Not specified |
puA1920-30uc | Timed | Not specified |
puA1920-30um | Timed | Not specified |
puA2500-14uc | Timed | Not specified |
puA2500-14um | Timed | Not specified |
r2L2048-29gc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.4 Trigger Controlled: 3.4 |
r2L2048-58gm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.8 Trigger Controlled: 1.8 |
r2L2048-62cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.4 Trigger Controlled: 3.4 |
r2L2048-62g5c | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.9 Trigger Controlled: 3.9 |
r2L2048-172cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 1.8 Trigger Controlled: 1.8 |
r2L2048-172g5m | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.3 Trigger Controlled: 2.3 |
r2L4096-14gc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.4 Trigger Controlled: 3.4 |
r2L4096-29gm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.3 Trigger Controlled: 2.3 |
r2L4096-42cc | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.4 Trigger Controlled: 3.4 |
r2L4096-42g5c | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.9 Trigger Controlled: 3.9 |
r2L4096-84cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.3 Trigger Controlled: 2.3 |
r2L4096-84g5m | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.8 Trigger Controlled: 2.8 |
r2L8192-200cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 3.07 Trigger Controlled: 3.07 |
r2L16384-120cm | Timed Trigger Width Trigger Controlled | Timed: Not specified Trigger Width: 2.56 Trigger Controlled: 2.56 |
-
8-bit pixel format / 10-bit pixel format
-
Valid if the pixel format is set to a 12-bit format. For 8-bit formats, the values depend on the available USB 3.0 bandwidth. See this table.
-
Do not attempt to trigger a new exposure start while the previous frame acquisition is still in progress. Otherwise, the trigger signal will be partly ignored, and the exposure time for the new frame will be shorter than the trigger signal. This situation is illustrated below for rising edge triggering.
Sample Code#
// ** Working with the Timed exposure mode **
// Select and the Frame Start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameStart);
// On racer 2 cameras, select the Line Start trigger
camera.TriggerSelector.SetValue(TriggerSelector_LineStart);
// Enable the Frame Start or Line Start trigger
camera.TriggerMode.SetValue(TriggerMode_On);
// Set the trigger source to Line 1
camera.TriggerSource.SetValue(TriggerSource_Line1);
// Enable Timed exposure mode
camera.ExposureMode.SetValue(ExposureMode_Timed);
// ** Working with the Trigger Controlled exposure mode **
// NOTE: Only available on selected camera models. Check the "Specifics" section
// Select and enable the Exposure Start trigger
camera.TriggerSelector.SetValue(TriggerSelector_ExposureStart);
camera.TriggerMode.SetValue(TriggerMode_On);
// Set the trigger source for the Exposure Start trigger to Line 1
camera.TriggerSource.SetValue(TriggerSource_Line1);
// Select and enable the Exposure End trigger
camera.TriggerSelector.SetValue(TriggerSelector_ExposureEnd);
camera.TriggerMode.SetValue(TriggerMode_On);
// Set the trigger source for the Exposure End trigger to Line 2
camera.TriggerSource.SetValue(TriggerSource_Line2);
// Enable Trigger Controlled exposure mode
camera.ExposureMode.SetValue(ExposureMode_TriggerControlled);
INodeMap& nodemap = camera.GetNodeMap();
// ** Working with the Timed exposure mode **
// Select and the Frame Start trigger
CEnumParameter(nodemap, "TriggerSelector").SetValue("FrameStart");
// On racer 2 cameras, select the Line Start trigger
CEnumParameter(nodemap, "TriggerSelector").SetValue("LineStart");
// Enable the Frame Start or Line Start trigger
CEnumParameter(nodemap, "TriggerMode").SetValue("On");
// Set the trigger source to Line 1
CEnumParameter(nodemap, "TriggerSource").SetValue("Line1");
// Enable Timed exposure mode
CEnumParameter(nodemap, "ExposureMode").SetValue("Timed");
// ** Working with the Trigger Controlled exposure mode **
// NOTE: Only available on selected camera models. Check the "Specifics" section
// Select and enable the Exposure Start trigger
CEnumParameter(nodemap, "TriggerSelector").SetValue("ExposureStart");
CEnumParameter(nodemap, "TriggerMode").SetValue("On");
// Set the trigger source for the Exposure Start trigger to Line 1
CEnumParameter(nodemap, "TriggerSource").SetValue("Line1");
// Select and enable the Exposure End trigger
CEnumParameter(nodemap, "TriggerSelector").SetValue("ExposureEnd");
CEnumParameter(nodemap, "TriggerMode").SetValue("On");
// Set the trigger source for the Exposure End trigger to Line 2
CEnumParameter(nodemap, "TriggerSource").SetValue("Line2");
// Enable Trigger Controlled exposure mode
CEnumParameter(nodemap, "ExposureMode").SetValue("TriggerControlled");
// ** Working with the Timed exposure mode **
// Select and the Frame Start trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.FrameStart);
// On racer 2 cameras, select the Line Start trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.LineStart);
// Enable the Frame Start or Line Start trigger
camera.Parameters[PLCamera.TriggerMode].SetValue(PLCamera.TriggerMode.On);
// Set the trigger source to Line 1
camera.Parameters[PLCamera.TriggerSource].SetValue(PLCamera.TriggerSource.Line1);
// Enable Timed exposure mode
camera.Parameters[PLCamera.ExposureMode].SetValue(PLCamera.ExposureMode.Timed);
// ** Working with the Trigger Controlled exposure mode **
// NOTE: Only available on selected camera models. Check the "Specifics" section
// Select and enable the Exposure Start trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.ExposureStart);
camera.Parameters[PLCamera.TriggerMode].SetValue(PLCamera.TriggerMode.On);
// Set the trigger source for the Exposure Start trigger to Line 1
camera.Parameters[PLCamera.TriggerSource].SetValue(PLCamera.TriggerSource.Line1);
// Select and enable the Exposure End trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.ExposureEnd);
camera.Parameters[PLCamera.TriggerMode].SetValue(PLCamera.TriggerMode.On);
// Set the trigger source for the Exposure End trigger to Line 2
camera.Parameters[PLCamera.TriggerSource].SetValue(PLCamera.TriggerSource.Line2);
// Enable Trigger Controlled exposure mode
camera.Parameters[PLCamera.ExposureMode].SetValue(PLCamera.ExposureMode.TriggerControlled);
/* 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 */
/* ** Working with the Timed exposure mode ** */
/* Select and the Frame Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSelector", "FrameStart");
CHECK(errRes);
/* On racer 2 cameras, select the Line Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSelector", "LineStart");
CHECK(errRes);
/* Enable the Frame Start or Line Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerMode", "On");
CHECK(errRes);
/* Set the trigger source to Line 1 */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSource", "Line1");
CHECK(errRes);
/* Enable Timed exposure mode */
errRes = PylonDeviceFeatureFromString(hdev, "ExposureMode", "Timed");
CHECK(errRes);
/* ** Working with the Trigger Controlled exposure mode ** */
/* NOTE: Only available on selected camera models. Check the "Specifics" section */
/* Select and enable the Exposure Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSelector", "ExposureStart");
CHECK(errRes);
errRes = PylonDeviceFeatureFromString(hdev, "TriggerMode", "On");
CHECK(errRes);
/* Set the trigger source for the Exposure Start trigger to Line 1 */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSource", "Line1");
CHECK(errRes);
/* Select and enable the Exposure End trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSelector", "ExposureEnd");
CHECK(errRes);
errRes = PylonDeviceFeatureFromString(hdev, "TriggerMode", "On");
CHECK(errRes);
/* Set the trigger source for the Exposure End trigger to Line 2 */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSource", "Line2");
CHECK(errRes);
/* Enable Trigger Controlled exposure mode */
errRes = PylonDeviceFeatureFromString(hdev, "ExposureMode", "TriggerControlled");
CHECK(errRes);
# ** Working with the Timed exposure mode **
# Select and the Frame Start trigger
camera.TriggerSelector.Value = "FrameStart"
# On racer 2 cameras, select the Line Start trigger
camera.TriggerSelector.Value = "LineStart"
# Enable the Frame Start or Line Start trigger
camera.TriggerMode.Value = "On"
# Set the trigger source to Line 1
camera.TriggerSource.Value = "Line1"
# Enable Timed exposure mode
camera.ExposureMode.Value = "Timed"
# ** Working with the Trigger Controlled exposure mode **
# NOTE: Only available on selected camera models. Check the "Specifics" section
# Select and enable the Exposure Start trigger
camera.TriggerSelector.Value = "ExposureStart"
camera.TriggerMode.Value = "On"
# Set the trigger source for the Exposure Start trigger to Line 1
camera.TriggerSource.Value = "Line1"
# Select and enable the Exposure End trigger
camera.TriggerSelector.Value = "ExposureEnd"
camera.TriggerMode.Value = "On"
# Set the trigger source for the Exposure End trigger to Line 2
camera.TriggerSource.Value = "Line2"
# Enable Trigger Controlled exposure mode
camera.ExposureMode.Value = "TriggerControlled"
You can also use the pylon Viewer to easily set the parameters.