Reserving the persistent memory in the application
In order to perform the position reconstruction, persistent memory must be reserved in the application.
To reserve persistent memory in the application:
- Instantiate and include the function module L_MC1P_PosReconstruction in the application.
- Create a persistent variable list in the application.
-
Execute the menu command
Create
Compile
.
- After error-free compilation, click on the PersistentVars tab in the device tree to select the persistent variable list as the active editor.
- Right click on the active editor and execute ( Add all instance paths ) command.
The required persistent variables are now displayed in the persistent variable list.