Integrating C-code and/or C++-code into the application (deprecated)
This section describes the creation and usage of the so-called ST interfaces with the pragma {extern_c} or {extern_cxx} in order to create →blocks in →C and/or →C++ and integrate them into the logi.CAD 3 application.
Attention: logi.cals advises against the use of these ST interfaces and recommends the use of the so-called →vendor blocks instead.
Integration of |
Supported for these platforms |
C-code |
all |
C++-code |
ArduinoNanoV3 , BuiltInPlc, ControllinoMINI, ControllinoMAXI, ControllinoMEGA, ControllinoMAXIAutomation, LinuxX86, WindowsX86 |
Perform the following steps, if you want to create and use C-blocks within logi.CAD 3 :
Creating the interface for a C-block or C++-block (deprecated)
Integrating external libraries for the C-blocks or C++-blocks
Adjustments in case of subsequent changes of the interface for a C-block or C++-block (deprecated)
If required, it is also possible to create an application completely in C or C++.