Chunk Features AW00097603000270 Basler aviator GigE11.5 Trigger Input CounterThe Trigger Input Counter feature numbers external frame acquisition triggers sequentially as theyare received. When the feature is enabled, a chunk is added to each image containing the value ofthe trigger input counter.The trigger input counter is a 32 bit value. On the first counting cycle, the counter starts at 1 andincrements by 1 for each received trigger. The counter counts up to 4294967295 unless it is resetbefore (see below). After reaching the maximum value, the counter will reset to 0 and then continuecounting.Be aware that if the camera is operating with the frame trigger off, the trigger input counter will notbe available.To enable the trigger input counter chunk: Use the Chunk Selector to select the Trigger Input Counter chunk. Use the Chunk Enable parameter to set the value of the chunk to true.Once the trigger input counter chunk is enabled, the camera will add a trigger input counter chunkto each acquired image.To retrieve data from a chunk appended to an image that has been received by your PC, you mustfirst run the image and its appended chunks through the chunk parser included in the pylon API.Once the chunk parser has been used, you can retrieve the trigger input counter information bydoing the following: Read the value of the Chunk Trigger Input Counter parameter.You can set the Chunk Selector and Chunk Enable parameter value from within your applicationsoftware 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 triggerinput counter chunk, run the parser, and retrieve the trigger input counter chunk data:// make chunk mode active and enable Trigger Input Counter chunkCamera.ChunkModeActive.SetValue( true );Camera.ChunkSelector.SetValue( ChunkSelector_Triggerinputcounter );Camera.ChunkEnable.SetValue( true );// retrieve data from the chunkIChunkParser &ChunkParser = *Camera.CreateChunkParser();GrabResult Result;StreamGrabber.RetrieveResult( Result );The chunk mode must be active before you can enable the trigger input counterfeature or any of the other chunk feature. Making the chunk mode inactivedisables all chunk features.