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

Description

Return parameters of currently selected digital camera – similar to SLASetDigitalCameraParameters_t.

typedef struct {
u8 mode;
u16 agHoldmax;
u16 agHoldmin;
u8 rowROIPct;
u8 colROIPct;
u8 highROIPct;
u8 wideROIPct;
u8 cameraIndex;
u16 minAGRange;
u8 agRate8;
u8 minExp;
u8 maxExp;

Sent in response to SLAGetParameters_t().

Message ID 0x71

Byte Offset Name Description
4modeMode (1 = freeze Autogain at min/max below)
5-6agHoldmaxAutogain Max value (max value maps to 255 in 8 bit output)
7-8agHoldminAutogain Min Value (min value maps to 0 in 8 bit output)
9rowROIPctRow ROI for Autogain stats. Row Offset in % of image height (255=100%); Full image(default) = 0
10colROIPctCol ROI for Autogain stats. Col Offset in % of image width (255=100%); Full image(default) = 0
11highROIPctHigh ROI for Autogain stats. Height in % of image height (255=100%); Full image(default) = 255
12wideROIPctWide ROI for Autogain stats. Width in % of image width (255=100%); Full image(default) = 255
13cameraIndexIndex of the camera where values are coming from
14-15minAGRangeMinimum spread of auto gain. 0 = does nothing, 200 = max - min scale range must be at least 200.
Prevents over-scaling of flat scenes. NEW 3.00
16agRate8Auto gain update rate. 0 = reset to 32, 1 = minimum rate, 255 = maximum rate, 32 = default. NEW 3.00
Use freeze Autogain to stop AGC updates
17minExpMinimum exposure or integration time NEW 3.1
18maxExpMaximum exposure or integration time NEW 3.1