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

Description

Current lens parameters – format identical to SLASetLensParameters_t.

typedef struct {
u8 lensType;
u8 afMetricRegionSize;
u8 zoomTrackFocus;
u8 autofocusMethod;
u16 autofocusRateAdjust;
u8 autofocusChangePct;
u8 zoomSpeed;
u8 focusSpeed;
u8 comPortNum;

Sent in response to SLAGetParameters_t().

Message ID 0x6F

Byte Offset Name Description
4lensTypeLens type. See SLASetLensParameters_t.
5afMetricRegionSizeAutoFocus Metric Region Size % of screen (0 to 100)
6zoomTrackFocusZoom Track Focus (0= disabled, 1= enabled)
7autofocusMethodAutofocus method (0=scan far to near, 1=seek)
8-9autofocusRateAdjustAutofocus Rate Adjust (0 to 255) 100 = default speed of motion
10autofocusChangePctAutofocus Change Percent (0 to 255) in 1/10ths of a percent. 40 (default) = 4%
11zoomSpeedZoom speed (0=use default, 1=min 255=max)
12focusSpeedFocus speed (0=use default, 1=min 255=max)
13comPortNumSerial port number for lens control see SLASetPortConfiguration_t