20-sim C-code generation template for exporting a 20-sim model to a Labview compatible DLL.
This template is provided as-is. It is provided without warranty or support from Controllab.
Download the code generation template using the "Download ZIP" button on Github or using a "git clone"
- Extract the zip file
- Copy the folder LabviewDLL to a location on your 20-sim PC.
- Open 20-sim
- Choose from the Menu: Tools | Options
- Choose Folders
- Choose C-Code Folders
- Add the folder you copied in step 2.
- To generate a Labview-compatible DLL from 20-sim,choose Tools | Real Time Toolbox | C-Code Generation Select the target ""Labview DLL for 20-sim submodel" " in the list.
- Select a submodel to export
-
20-sim 4.3 or higher is required for this template
-
For automated compilation of the DLL, we currently rely on the availability of the Visual Studio 2008 compiler. Any version Express, Community, Professional or Enterprise will work.
-
Microsoft Visual C++ Redistributable Packages for Visual Studio 2008