Counter and Timer Control
Counter and Timer Control

Counter and Timer Control

The Counter function counts up change points in the camera's internal signals using the camera's internal counter and reads that information from the host side. This function verifies error conditions using the count value and internal camera operations. Four counters are available on the camera; Counter0, Counter1, Counter2, and Counter3. The functions that can be counted are fixed for each counter.
  • Counter0: Counts the number of
    FrameTrigger
    .
  • Counter1: Counts the number of
    ExposureStart
    .
  • Counter2: Counts the number of
    SensorReadOut
    .
  • Counter3: Counts the number of
    FrameTransferEnd
    .
When an issue occurs in a system that includes this camera, comparing the values from multiple counters allows you to verify the extent of normal operability and can help investigate the cause.
Counter
Reset a specific counter's count value by executing
CounterReset
[Counter0, Counter1, Counter2, Counter3].
The following diagram outlines the internal camera blocks:
Camera Blocks
Use the Counter function by specifying a counter and configuring the following settings:
Counter Function Settings
Item
Setting Value/Selectable Range
Description
Counter 0-3
Counter 0-3
Select the counter.
CounterEventSource
Counter 0: Off, FrameStartTrigger
Counter1
Off, ExposureStart
Counter2
Off, SensorReadOut
Counter3
Off, FrameTransferEnd
Select the counter-event signal for which to read the count value.
When set to Off, the counter operation stops but does not reset.
CounterEventActivation
Rising Edge, Falling Edge
Specify the timing cadence:
  • Counter0 - Rising Edge
  • Counter1 - Rising Edge
  • Counter2 - Rising Edge
  • Counter3 - Rising Edge