EasyManuals Logo

Basler GigE VISION CAMERAS User Manual

Basler GigE VISION CAMERAS
234 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #215 background imageLoading...
Page #215 background image
AW00118303000 Chunk Features
Basler racer GigE 207
// enable the trigger counter chunks
Camera.ChunkSelector.SetValue( ChunkSelector_LineTriggerIgnoredCounter );
Camera.ChunkEnable.SetValue( true );
Camera.ChunkSelector.SetValue( ChunkSelector_FrameTriggerIgnoredCounter );
Camera.ChunkEnable.SetValue( true );
Camera.ChunkSelector.SetValue( ChunkSelector_LineTriggerEndToEndCounter );
Camera.ChunkEnable.SetValue( true );
Camera.ChunkSelector.SetValue( ChunkSelector_FrameTriggerCounter );
Camera.ChunkEnable.SetValue( true );
Camera.ChunkSelector.SetValue( ChunkSelector_FramesPerTriggerCounter );
Camera.ChunkEnable.SetValue( true );
To retrieve data from a chunk appended a frame that has been received by your PC, you must first
run the frame and its appended chunks through the chunk parser included in the pylon API. Once
the chunk parser has been used, you can retrieve the counter values from the chunks by doing the
following:
Read the value of the Chunk Line Trigger Ignored Counter parameter.
Read the value of the Chunk Frame Trigger Ignored Counter parameter.
Read the value of the Chunk Line Trigger End To End Counter parameter.
Read the value of the Chunk Frame Trigger Counter parameter.
Read the value of the Chunk Frames Per Trigger Counter parameter.
You can run the chunk parser and retrieve the counter values from within your application software
by using the pylon API. The following code snippet illustrates using the API to run the parser and
retrieve the frame counter chunk data:
// run the chunk parser
IChunkParser &ChunkParser = *Camera.CreateChunkParser();
GrabResult Result;
StreamGrabber.RetrieveResult( Result );
ChunkParser.AttachBuffer( (unsigned char*) Result.Buffer(),
Result.GetPayloadSize() );
// retrieve data from the chunks
int64_t LTIgnoredCounter = Camera.ChunkLineTriggerIgnoredCounter.GetValue();
int64_t FTIgnoredCounter = Camera.ChunkFrameTriggerIgnoredCounter.GetValue();
int64_t LTEECounter = Camera.ChunkLineTriggerEndToEndCounter.GetValue();
int64_t FTCounter = Camera.ChunkFrameTriggerCounter.GetValue();
int64_t FPTCounter = Camera.ChunkFramesPerTriggerCounter.GetValue();
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.
For more information about the pylon Viewer, see Section 3.1 on page 23.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler GigE VISION CAMERAS and is the answer not in the manual?

Basler GigE VISION CAMERAS Specifications

General IconGeneral
BrandBasler
ModelGigE VISION CAMERAS
CategoryDigital Camera
LanguageEnglish

Related product manuals