Counter Value Chunk - Basler acA2040-55 User Manual

Basler ace
Table of Contents

Advertisement

Features

7.23.3.6 Counter Value Chunk

The counter value chunk feature numbers items sequentially as they occur. When the feature is
enabled, a chunk is added to each image containing the value of the counter.
The counter value used for the chunk is taken from Counter 1 and relates to Frame Start trigger as
the counter event source.
The Counter 1 value is a 32 bit number. The counter starts initially at 1 and increments by 1 for each
frame start trigger. The counter counts up to 4294967295 unless it is reset before. After reaching
the maximum value or after reset, the counter starts at 0 and then continues counting.
Note: When continuous capture is stopped while the camera is acquiring frame start triggers
continuously, several numbers in the counting sequence can be skipped. This happens due to the
internal buffering scheme of image data used in the camera.
To enable the counter value chunk:
1. Use the chunk selector to select the counter value chunk.
2. Use the Chunk Enable parameter to set the value of the chunk to true.
Once the counter value chunk is enabled and Chunk Mode Active (see Section 7.23.4 on
is enabled, the camera appends a counter value chunk to each acquired image.
After an image with an appended chunk has been received by your computer the chunk must be
retrieved. For information about retrieving data chunks, see Section 7.23.5 on
You can set the Chunk Selector and Chunk Enable parameter value from within your application
software by using the Basler pylon API. The following code snippet illustrates using the API to
activate the chunk mode, and enable the counter value chunk:
// make chunk mode active and enable Counter Value chunk
camera.ChunkSelector.SetValue(ChunkSelector_CounterValue);
camera.ChunkEnable.SetValue(true);
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3.1 on
344
AW00123409000
page
347)
page
348.
page
61.
Basler ace USB 3.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2440-35Aca2040-120Aca2440-75

Table of Contents