DSM FwdPrg_05_XXX.lua: Textual lists with non-sequential, unordered numeric references. #879
Unanswered
m-rik-prog
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I believe that as with many other applications of the same type, for the Forward Programming application, textual lists can be sorted according to a precise ordering and logic, but that each text in the list can refer to non sequential and unordered numeric values.
To give a small example of such an LUA application:
{"Swashplate Type:", COMBO, {"H1 90°", "CCPM 120°", "CCPM R120°", "CCPM 135°", "CCPM R135°", "CCPM 140°", "CCPM R140°", "CCPM H-4X", "Tandem Rotors"},{1, 0, 10, 7, 11, 8, 12, 9, 4}},
I assume that Spektrum in the realization and development of its "Forward Programming" application has certainly taken this possibility into account as well because during upgrades and additions in the products of new parameters and new values can be entered that can also change the order that the design had initially.
However, it does not seem to me that in the "DSM FwdPrg_05_XXX.LUA" applications that simulate the Spektrum application, this possibility is provided and managed. Or am I mistaken?
Perhaps it is manageable by adding numeric values separated by vertical bar to the right of the lists?
For example:
LT|0x35A0|Heli H-1 90° |1
LT|0x35A1|HeliCCPM-120°|0
LT|0x35A2|HeliCCPMR120°|10
LT|0x35A3|HeliCCPM-135°|7
LT|0x35A4|HeliCCPMR135°|11
LT|0x35A5|HeliCCPM-140°|8
LT|0x35A6|HeliCCPMR140°|12
LT|0x35A7|HeliCCPM H-4X|9
LT|0x35A8|Tandem Rotors|4
Or is it manageable through the last two bytes "Line Default Low" and "Line Default High" of the frames that otherwise seem to have no use?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions