AW00123402000 Features
Basler ace USB 3.0 243
1. Set the Chunk Mode Active parameter to true.
You can set the Chunk Mode Active parameter value from within your application software by using
the Basler pylon API. The following code snippet illustrates using the API to set the parameter
value:
camera.ChunkModeActive.SetValue(true);
Also note that when you enable ChunkModeActive, the PayloadType for the camera changes from
"Pylon::PayloadType_Image" to "Pylon::PayloadType_ChunkData".
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
8.17.3 Data Chunks
You can select the individual data chunks to be appended to image data by selecting the kind if data
chunk and then enabling it. For details, see below.
8.17.3.1 Gain Chunk
The gain chunk feature adds a chunk to each acquired image containing the gain All parameter
value in [dB] used for the image acquisition.
1. Use the Chunk Selector to select the Gain chunk.
2. Use the Chunk Enable parameter to set the value of the gain chunk to true.
Once the gain chunk is enabled and Chunk Mode Active is enabled, the camera will append a gain
chunk to each acquired image.
After an image with an appended chunk has been received by your PC the chunk must be retrieved.
For information about retrieving data chunks, see Section 8.17.4 on page 250.
You can set the Chunk Selector and Chunk Enable parameter value from within your application
software by using the Basler pylon Camera Software Suite. The following code snippet illustrates
using the API to activate the chunk mode, select the gain chunk, and enable the gain chunk:
To enable Chunk Mode Active:
To enable the gain chunk: