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

Description

Current lens focus and zoom position.

typedef struct {
u16 focusPos;
u16 zoomPos;
u8 focusLimits;
u8 zoomLimits;
u8 camIdx;

Sent in response to SLAGetParameters_t().

Message ID 0x6D

Byte Offset Name Description
4-5focusPosFocus position – motor pulse counts
6-7zoomPosZoom position – motor pulse counts
8focusLimitsfocus mechanical and optical limit switch
Bit Description
0 far mechanical limit
1 near mechanical limit
2 near optical limit
3 far optical limit
4:7 not used
9zoomLimitszoom mechanical and optical limit switch
Bit Description
0 narrow mechanical limit
1 wide mechanical limit
2 wide optical limit
3 narrow optical limit
4:7 not used
10camIdxCamera index