getFieldInfo(name)
Last updated
Was this helpful?
Last updated
Was this helpful?
Return detailed information about field (source)
The list of valid sources is available:
for OpenTX 2.0.x at
for OpenTX 2.1.x at (depreciated)
for OpenTX 2.1.x Taranis and Taranis Plus at
for OpenTX 2.1.x Taranis X9E at
In OpenTX 2.1.x the telemetry sources no longer have a predefined name. To get a telemetry value simply use it's sensor name. For example:
Altitude sensor has a name "Alt"
to get the current altitude use the source "Alt"
to get the minimum altitude use the source "Alt-", to get the maximum use "Alt+"
@status current Introduced in 2.0.8
name
(string) name of the field
table
information about requested field, table elements:
id
(number) field identifier
name
(string) field name
desc
(string) field description
nil
the requested field was not found