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

Description

Set new display parameter settings.

typedef struct {
u16 rotationDegrees;
u16 rotationLimit;
u8 decayRate;
u8 falseColorZTT;
u8 zoom;
s16 panCol;
s16 tiltRow;
u8 cameraIndex;
u16 extendedZoom10;
u16 zoomRate;

Current rotation is smoothly changed to specified value, digital zoom, and false color are directly controlled.
NOTE: For 1500, these parameters are applied to the Command Camera.
See also See SLADisplayAngle_t.

False Color Modes

Value Description Value Description
0, 1 no false color 22, 23 Color3, Color3 inverted
2, 3 white hot, black hot 24, 25 hot iron, hot iron inverted
4, 5 rainbow, rainbow inverted 26, 27 ice fire, ice fire inverted
6, 7 iron, iron inverted 28, 29 IDDEF, IDDEF inverted
8, 9 hot / cold, hot / cold inverted 30, 31 Iron256, Iron256 inverted
10, 11 jet, jet inverted 32, 33 Rain256, Rain256 inverted
12, 13 hot, hot inverted 34, 35 XVolcano, XVolcano inverted
14, 15 HSV, HSV inverted 36, 37 Red, Red inverted
16, 17 470CLR_S, 470CLR_S inverted 38, 39 Green, Green inverted
18, 19 Color1, Color1 inverted 40, 41 Blue, Blue inverted
20, 21 Color2, Color2 inverted 127 User Palette. See SLASetUserPalette_t

Message ID 0x16

Byte Offset Name Description
4-5rotationDegreesRotation angle in degrees (0..360) * 128
6-7rotationLimitRotation rate limit in degrees (0..360) * 128 per frame, (default 256). See Rotation angle NOTE above.
8decayRateRotation decay rate per frame, 0(0%) to 255(100%) (default 50). See Rotation angle NOTE above.
9falseColorZTTBits 0 - 6: False Color Modes
Bit 7: Zoom mode: 0 = zoom to center of display, 1 = zoom to tracking box
10zoomZoom – digital image magnification factor times 64.
NOTE: Zoom may be further limited for some camera and display combinations.
NOTE: If extendedZoom10 and zoomRate are set, this field is ignored
Value Result
0 to 15 No zoom(1X) (subject to change)
16 to 63 Zoom out by 0.25 to 0.98
64 No zoom(1X)
65 - 255 Zoom in by 1.01 to 3.98
11-12panColDisplay pan column offset in pixels
13-14tiltRowDisplay tilt row offset in pixels
15cameraIndex(Optional) Ignored for 1500. Settings applied to this camera index: Omit and current Command Camera will be used. 255 = All cameras.
16-17extendedZoom10
Value Result
0 to 255 No zoom(1X) (subject to change)
256 to 511 Zoom out by 0.25 to 0.499
512 to 1023 Zoom out by 0.5 to 0.999
1024 No zoom(1X)
1025 to 4095 Zoom in by 1.001 to 3.999
4096 to 16383 Zoom in by 4.0 to 15.999
18-19zoomRate0 to 1023
Measured in frames per X16
For example, a display with a zoom rate of 45 and a framerate of 30fps will move from X1 to X16 zoom in 1.5 seconds.