Skip to content

SICKAppSpaceCodingStarterKit/CSK_Module_CreationTemplate

Repository files navigation

CSK_Module_CreationTemplate

Module to give an example/template of how to create a SICK AppSpace Coding Starter Kit module.

How to Run

This module tempalte can be used to create a new CSK module by renaming specific parts of it without the need to start from scratch.

  • Copy the app to your AppStudio working directory
  • Rename App name accordingly to the module feature -> e.g. CSK_Module_DateTime
  • Right-click on the app and select "Refactor" to refactor the Crown accordingly to the modules feature.
    • E.g.: Select Type="Crown", Crown="CSK_ModuleName", Parent="no parent", Name=CSK_DateTime
  • Rename all relevant parts containing "ModuleName"/"moduleName" according to the desired module name (e.g. "DateTime"/"dateTime")

For further information regarding the internal used functions / events check out the documentation in the folder "docu".

Information

Tested on

  1. SIM1012 - Firmware 2.2.0
  2. SICK AppEngine - Firmware 1.3.2

This module is part of the SICK AppSpace Coding Starter Kit developing approach.
It is programmed in an object oriented way. Some of these modules use kind of "classes" in Lua to make it possible to reuse code / classes in other projects.
In general it is not neccessary to code this way, but the architecture of this app can serve as a sample to be used especially for bigger projects and to make it easier to share code.
Please check the documentation of CSK for further information.

Topics

Coding Starter Kit, CSK, Module, SICK-AppSpace, Template

About

Module to give an example/template of how to create a SICK AppSpace Coding Starter Kit module.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages