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

Description

Perform camera lens control.

typedef struct {
u8 lensMode;
u16 data;

If any data needs to be sent along with a command, this data will be in the bytes following the LensMode. Changing the lens position will stop autofocus (see SLASetLensParameters_t).

Message ID 0x6C

Byte Offset Name Description
4lensMode
Value Description Data bytes Data
0, 1 Reserved
2 Reset Lens Mechanism 0
3 Request Lens Status 0
4 Zoom in Wide Direction 0
5 Zoom in Narrow Direction 0
6 Stop Zoom Motion 0
7 Focus in Far Direction 0
8 Focus in Near Direction 0
9 Stop Focus Motion 0
10 One Push Auto Focus 0
11 Reserved 0
12 Lens NUC (IR camera) 1 0 = no shutter, 1 = shutter
13 Set Zoom Position 2 Motor pulse counts
14 Set Focus Position 2 Motor pulse counts
128 & Above Reserved for customer defined modes. 2 customer defined
5-6dataData bytes