AW00089317000 Chunk Features
Basler ace GigE 321
11.6 Line Status All
The line status all feature samples the status of the camera’s input line and output line each time a
frame acquisition is triggered. It then adds a chunk to each acquired frame containing the line status
information.
The line status all information is a 32 bit value. As shown in Figure 123, 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 is was high at the time of triggering.
1. Use the Chunk Selector to select the Line Status All chunk.
2. Use the Chunk Enable parameter to set the value of the chunk to true.
Once the line status all chunk is enabled, the camera will add a line status all chunk to each
acquired image.
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.
1. Read the value of the Chunk Line Status All parameter.
You can set the Chunk Selector and Chunk Enable parameter value from within your application
software 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 line
status all chunk, run the parser, and retrieve the line status all chunk data:
// make chunk mode active and enable Line Status All chunk
Camera.ChunkModeActive.SetValue( true );
Camera.ChunkSelector.SetValue( ChunkSelector_LineStatusAll );
Camera.ChunkEnable.SetValue( true );
The chunk mode must be active before you can enable the line status all feature
or any of the other chunk feature. Making the chunk mode inactive disables all
chunk features.
To enable the line status all chunk:
To retrieve the line status all information:
Indicates output line 1 state
Indicates input line 1 state
Fig. 123: Line Status All Parameter Bits