User`s manual
Chunk Features AW00049313000
222 Basler runner
12.7 Input Line Status At Line Trigger
The Input Status At Line Trigger feature samples the status of all of the camera’s input lines each
time a line acquisition is triggered. It collects the input line status data for each acquired line in a
chunk and adds the chunk to the frame that includes the acquired line.
The input status at line trigger information is a 4 bit value. As shown in Figure 68, certain bits in the
value are associated with each line and the bits will indicate the state of the lines. If a bit is 0, it
indicates that the state of the associated line was low at the time of triggering. If a bit is 1, it indicates
that the state of the associated line was high at the time of triggering.
Fig. 68: Input Status At Line Trigger Parameter Bits
To enable the input status at line trigger chunk:
Use the Chunk Selector to select the Input Status At Line Trigger chunk.
Use the Chunk Enable parameter to set the value of the chunk to true.
Once the input status at line trigger chunk is enabled, the camera will add an input status at line
trigger chunk to each acquired frame.
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:
Note
The chunk mode must be active before you can enable the input status at line
trigger chunk or any of the other chunk feature. Making the chunk mode
inactive disables all chunk features.
The maximum for the Height parameter value is 1024 if the input status at line
trigger chunk is enabled. Other conditions may further decrease the maximum
parameter value. For more information, see the Defining a Frame section.
3210
Indicates input line 1 state
Indicates input line 2 state
Indicates input line 3 state










