Adding functionality to CSK app #4
-
hey there, Tomer Erez here, a Sick developer. i was wondering what is the correct way to add crowns and functions to the csk then. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Tomer -- If app property "LuaLoadAllEngineAPI" is FALSE, use this to load and check for required APIs -- _G.availableAPIs = require('Mainfolder/Subfolder/helper/checkAPIs') -- can be used to adjust function scope of the module related on available APIs of the devicePlease also see: https://github.com/SICKAppSpaceCodingStarterKit/.github/blob/main/docu/SICKAppSpaceCodingStarterKit_Documentation.md#app-parameter-lualoadallengineapi BR |
Beta Was this translation helpful? Give feedback.
Hi Tomer
sorry for the late reply!
Did you check to uncomment following line within the main script?
-- If app property "LuaLoadAllEngineAPI" is FALSE, use this to load and check for required APIs
-- This can improve performance of garbage collection
-- _G.availableAPIs = require('Mainfolder/Subfolder/helper/checkAPIs') -- can be used to adjust function scope of the module related on available APIs of the device
Please also see: https://github.com/SICKAppSpaceCodingStarterKit/.github/blob/main/docu/SICKAppSpaceCodingStarterKit_Documentation.md#app-parameter-lualoadallengineapi
BR