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 #219 background imageLoading...
Page #219 background image
AW00118303000 Chunk Features
Basler racer GigE 211
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 included in the pylon API.
Once the chunk parser has been used, you can retrieve the input line status at line trigger
information that was extant when acquisition of line i was triggered by doing the following:
Read the value of the Chunk Input Status At Line Trigger parameter.
You can set the Chunk Selector and Chunk Enable parameter value from within your application
software by using the 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 input status
at line trigger chunk, run the parser, and retrieve the input status at line trigger chunk data for the
acquired line i:
Camera.ChunkModeActive.SetValue(true);
Camera.ChunkSelector.SetValue(ChunkSelector_InputStatusAtLineTrigger);
Camera.ChunkEnable.SetValue(true);
// grab image and feed it to the chunk parser ...
int MaxIdx = int(Camera.ChunkInputStatusAtLineTriggerIndex.GetMax());
for (int i = 0; i <= MaxIdx; i++)
{
Camera.ChunkInputStatusAtLineTriggerIndex.SetValue(i);
int value = int(Camera.ChunkInputStatusAtLineTriggerValue.GetValue());
printf("State of inputs at line %d: %X\n", i, value);
}
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.

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