How Canopy Parameters are Introduced
How Canopy Parameters are Introduced

How Canopy Parameters are Introduced

Canopy parameters are introduced by adding a REGISTER_PARAMETER macro and an associated REGISTER_DESC_ macro into a GUI screenView.cpp file. For example, to introduce a string parameter denoted by the global identifier : gblTestValue3, the following file could be altered by adding the following code snippet into: TouchGFX/gui/src/sncfgmenu_screen/SnCfgMenuView.cpp.
In this example, the gblTestValue3 parameter is tied to the screen Name:
Global
. Thus, this parameter will show up within the Global submenu of the configuration menu.
It is possible to introduce a Canopy parameter that is not associated with an application (and thus will not show in any screen). To do this, choose
hidden
for the
Descriptive app name
.