LUA Reference Guide
2.8
Search
⌃K

getFieldInfo(source)

Return detailed information about field (source)
The list of valid sources is available:
OpenTX Version
Radio
2.0
all
2.1
2.2
2.3
@status current Introduced in 2.0.8, 'unit' field added in 2.2.0

Parameters

  • source can be an identifier (number) or a name (string) of the source.

Return value

  • table information about requested field, table elements:
    • id (number) field identifier
    • name (string) field name
    • desc (string) field description
    • 'unit' (number) unit identifier Full list
  • nil the requested field was not found