Sequencer: Multiple Image Captures with a Single Incoming Trigger Signal [AN201624]

Baumer VCXG/VCXU Cameras

This document describes the general approach to using sequencers with Baumer industrial cameras. Examines how to use counters to record multiple images in response to a single incoming trigger signal.

Multiple Image Captures

The described sequence demonstrates a multiple image capture approach using a single incoming trigger signal.

Expected Camera Behavior

The theoretical approach is to set the camera in trigger mode and capture two images at the same exposure time with each incoming trigger signal.

Expected Camera Behavior

Sequencing Procedure Concept

Considering the sequencer basics, sequencer parameterization becomes much more complex than initially expected:

  • Since the acquisition of the first image is triggered by the hardware, the 2nd and subsequent images must be captured automatically and immediately, at a different exposure time. Therefore, two different sets of sequencers are required.
  • The first set (Set0) contains the necessary parameters such as the Trigger Mode configuration and the desired exposure time for the 1st image.
  • The second set (Set1) puts the camera back into free run mode and configures the exposure time and desired/required meter data.
  • Additionally, both sets must provide information regarding the sequence set and the pathway.
Sequencer Parameterization Concept

Application

Since the sequence is expected to be executed by the incoming trigger signal, a TriggerSource must be defined. Therefore, Line0 was added in the example.

First Set of Sequencers

The camera features that can be controlled by the sequencer in Set0 are ExposureTime and TriggerMode; this mode is activated.

Sequence set and path related properties are:

  • SequencerPathSelector = 0
    Defines the path to move to the next set of sequencers. Path0 is used here.
  • SequencerTriggerSource = ExposureActive
    The sequence defines the internal or external signal used as the trigger source; where the internal signal is ExposureActive.
  • SequencerTriggerActivation = RisingEdge
    Identifies the signal state change that triggers the transition to the next set of sequencers. In the example, this is RisingEdge.
  • SequencerSetNext = 1
    This defines which set of sequencers is next on the path, in this example thisSet1‘
Application

Second Sequencer Set

Set1 contains the ExposureTime for all recorded images (except the first) and turns off TriggerMode. Besides this, the image repeat counter is configured as follows:

  • Counter1EventSource = ExposureActive
    Defines the internal or external signal used for meter control.
  • Counter1EventActivation = RisingEdge
    It defines the state change of the signal that triggers the counter; RisingEdge is selected here.
  • Counter1Duration = 2
    Defines the number of images to be recorded within this sequencer set.
  • Counter1ResetSource = Counter1End
    Defines the internal or external signal used to reset the counter.
  • Counter1ResetActivation = RisingEdge
    Defines the state change of the signal that resets the counter; RisingEdge is selected here.

Sequence set and path related properties are:

  • SequencerPathSelector = 0
    Defines the path to move to the next set of sequencers. Return to Set0 using Path0.
  • SequencerTriggerSource = Counter1End
    The sequence defines the internal or external signal used as the trigger source; Here, the internal signal Counter1End, which has a rising edge feature when the counter is completed, is used.
  • SequencerTriggerActivation = RisingEdge
    The signal that triggers the sequence set change identifies the state change; RisingEdge is selected here.
  • SequencerSetNext = 0
    This identifies which set of sequencers is next on the path; Set0 is used to return.

Conclusion

The figure shows the resulting image acquisition in accordance with the desired camera behavior.

Resulting Camera Behavior