
C.3 Counter
C.3
Counter
There are four general purpose counters available, which can be used to count any events in
the camera. The following sections show some use cases, how the counters can be used. There
are some examples of simple counter configurations as well as some more sophisticated
settings.
C.3.1
Counter Reset
A counter needs to be reset in order to be activated after configuration. This can be done by
the software reset command
CounterReset
or by an external reset source, which can be selected
by the parameter
CounterResetSource
of the corresponding counter. Furthermore for each
counter there is an automatically counter reset at acquisition start feature available:
CounterAcquisitionStartReset
. If it is set to
True
, the corresponding counter is reset when an
acquisition start command is applied. Depending on the application, it might be necessary, that
the current counter value must not be reset at acquisition start. In this case the parameter
CounterAcquisitionStartReset
must be set to
False
for the corresponding counter and the user
must execute the parameter
CounterReset
manually for a first counter start.
C.3.2
Image Counter
Any of the four available counters can be used as an image counter. The following
configuration procedure must be applied:
1.
Select one of the four available counters by setting of the
CounterSelector
to
Counter0
,
Counter1
,
Counter2
or
Counter3
.
2.
Select the corresponding counter event source by the parameter
CounterEventSource
. Any
signal source, which is generated with every frame, can be select. For instances
FrameStart
or
ExposureStart
can be selected.
3.
Parameter
TimerTriggerActivation
can be ignored. This configuration is only necessary,
when
Line0
input is selected as a trigger source.
4.
All other counter parameter must be left in default state (Both the
CounterResetSource
and
CounterTriggerSource
must be set to
Off
).
5.
The counter needs to be reset (see C.3.1).
C.3.3
Real Time Counter
Any of the four available counters can be used as a real time counter. The following
configuration procedure must be applied:
1.
Select one of the four available counters by setting of the
CounterSelector
to
Counter0
,
Counter1
,
Counter2
or
Counter3
.
2.
Set the parameter
CounterEventSource
to
TimeStampTick
.
3.
Parameter
TimerTriggerActivation
can be ignored. This configuration is only necessary,
when
Line0
input is selected as a trigger source.
4.
Configure the time stamp tick value
CounterTimeStampTickValue
. For instances a value of 1
µ
s generates an event every 1
µ
s.
5.
All other counter parameter must be left in default state (Both the
CounterResetSource
and
CounterTriggerSource
must be set to
Off
).
6.
The counter needs to be reset (see C.3.1).
MAN078 12/2018 V1.1
107 of 111
Summary of Contents for MV0 CMOSIS Series
Page 10: ...1 Preface 10 of 111 MAN078 12 2018 V1 1...
Page 38: ...4 Image Acquisition 38 of 111 MAN078 12 2018 V1 1...
Page 52: ...8 Image Format Control 52 of 111 MAN078 12 2018 V1 1...
Page 78: ...12 Precautions 78 of 111 MAN078 12 2018 V1 1...
Page 88: ...14 Mechanical Considerations 88 of 111 MAN078 12 2018 V1 1...
Page 90: ...15 Troubleshooting 90 of 111 MAN078 12 2018 V1 1...
Page 96: ...18 Support and Repair 96 of 111 MAN078 12 2018 V1 1...