Chunk Features AW00097603000
276 Basler aviator GigE
// Check the CRC checksum of an grabbed image
IChunkParser &ChunkParser =
*Camera.CreateChunkParser();
GrabResult Result;
StreamGrabber.RetrieveResult( Result );
ChunkParser.AttachBuffer( (unsigned char*) Result.Buffer(),
Result.GetPayloadSize() );
if ( ChunkParser.HasCRC() && ! ChunkParser.CheckCRC() )
cerr << "Image corrupted!" << endl;
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the Basler pylon API and the pylon Viewer, see Section 3 on page 21.