SightLine Applications Command, Control, and Script API  v3.6
List of all members
SLADigitalVideoParserParameters_t Struct Reference

Description

Set parameters for the digital video SightLine protocol parser.

typedef struct {
u8 cameraIndex;
u8 enabled;
u8 flags;
u8 oneMessagePerImage;
u8 usePixelValue;

This function provides the ability to manipulate the video frames to encode SightLine protocol messages on the two lines immediately following the valid video window defined in SLASetAcquisitionParameters_t. The first pixel for encoding in the Luma (Y) buffer is either:

The maximum number of pixels for encoding is Image_Width*2 in either case.

Performance Notes:

Also sent in response to SLAGetParameters_t().

Message ID 0x91

Byte Offset Name Description
4cameraIndexCamera Index
5enabledEnable parsing (0 = disable, 1 = enable). Default is disable.
6flags
Bit Description
0 SLA protocol message is expected to start at first pixel (0 = false, 1 = true ) default is true
1 SLA protocol message is encoded beginning at first line right after Acquired window. (1 = true, 0 = false: the message is embedded right after the ROI window, as defined in SLASetAcquisitionParameters_t).
7oneMessagePerImage0 - Multiple protocol message may be present in the frame
1 - a single SLA protocol message is expected per frame
8usePixelValueInterpret pixel value.
Value Description
0 Each pixel will be interpreted as a bit (any value less than 128 translates to 0, any value 128 and above translates to 1)
1 (default) Each pixel will be interprested as a byte