Chunk Features AW00011916000
342 Basler scout GigE
13.8 Sequence Set Index
The Sequence Set Index chunk adds a chunk to each acquired frame containing the index number
of the sequence set that was used for frame acquisition.
To enable the sequence set index chunk:
Use the Chunk Selector to select the Sequence Set Index chunk.
Use the Chunk Enable parameter to set the value of the chunk to true.
Once the sequence set index chunk is enabled, the camera will add a sequence set index chunk to
each acquired image.
To retrieve data from a chunk appended to an image that has been received by your PC, you must
first run the image and its appended chunks through the chunk parser that is included in the pylon
API. Once the chunk parser has been used, you can retrieve the sequence set index information
by doing the following:
Read the value of the Chunk Sequence Set Index parameter.
You can set the Chunk Selector and Chunk Enable parameter value from within your application
software by using the Basler pylon API. You can also run the parser and retrieve the chunk data.
The following code snippets illustrate using the API to activate the chunk mode, enable the time
stamp chunk, run the parser, and retrieve the frame counter chunk data:
// make chunk mode active and enable Sequence Set Index chunk
Camera.ChunkModeActive.SetValue( true );
Camera.ChunkSelector.SetValue( ChunkSelector_SequenceSetIndex );
Camera.ChunkEnable.SetValue( true );
// retrieve data from the chunk
IChunkParser &ChunkParser = *Camera.CreateChunkParser();
GrabResult Result;
StreamGrabber.RetrieveResult( Result );
ChunkParser.AttachBuffer( (unsigned char*) Result.Buffer(),
The sequencer feature must be enabled before you can enable the sequence set
index feature.
For more information about the sequencer feature, see the "Standard Features"
section.
The chunk mode must be active before you can enable the sequence set index
feature or any of the other chunk feature. Making the chunk mode inactive
disables all chunk features.