model.getMix(channel, line)
Get configuration for specified Mix
@status current Introduced in 2.0.0, parameters below multiplex
added in 2.0.13
Parameters
channel
(unsigned number) channel number (use 0 for CH1)line
(unsigned number) mix number (use 0 for first line(mix))
Return value
nil
requested channel or line does not existtable
mix data:name
(string) mix line namesource
(number) source indexweight
(number) weight (1024 == 100%) value or GVAR1..9 = 4096..4011, -GVAR1..9 = 4095..4087offset
(number) offset value or GVAR1..9 = 4096..4011, -GVAR1..9 = 4095..4087switch
(number) switch indexmultiplex
(number) multiplex (0 = ADD, 1 = MULTIPLY, 2 = REPLACE)curveType
(number) curve type (function, expo, custom curve)curveValue
(number) curve indexflightModes
(number) bit-mask of active flight modescarryTrim
(boolean) carry trimmixWarn
(number) warning (0 = off, 1 = 1 beep, .. 3 = 3 beeps)delayUp
(number) delay up (time in 1/10 s)delayDown
(number) delay downspeedUp
(number) speed upspeedDown
(number) speed down
Last updated