![background image](http://html1.mh-extra.com/html/jai/sp-45000c-cxp4a/sp-45000c-cxp4a_user-manual_631425054.webp)
Counter And
Timer Control
Counter And Timer Control Function
This camera supports only the counter function.
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 is
useful for verifying error conditions via the count value using 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 a problem 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 be
useful when investigating the cause of the problem.
■ Counter occurrence diagram
Frame Trigger
Counter0
Exposure Start
Counter2
Event occurrence
Count up
Counter0
Request
Read out
value
Counter reset
Count up
Counter2
Request
Read count
value
Counter reset
Count 0 reset
Counter2 reset
MCU
HOST
You can reset a specific counter's count value by executing
CounterReset[Counter0, Counter1, Counter2, Counter3].
Event occurrence
Note
SP-45000M-CXP4A/SP-45000C-CXP4A
- 54 -