Open an Existing DATAFLOW Software Example on my Computer

by Marco Wuelser

 

We have already prepared the "Hello Word" example for you. Please follow these simple steps to try out the "Hello World" example on your computer.

Download Trial Version

Download the latest DATAFLOW Trial Version here.

Install DATAFLOW

This article - guides you through the DATAFLOW installation process.

Download Example

Download the "Hello World" Example here.


Preparation Steps

  1. Unzip the downloaded file on your hard drive
  2. Double click the «Hello World - Studio.dfs» file from the “Hello World – Studio“ folder to open the project
  3. Confirm the message about the missing «SDK»

Install the Missing SDK

  1. Install the missing “SDK”
  2. Go to the File Ribbon
    a. Select Options
    b. Select “SDK” from the Options menu
    c. Press “Install SDK”
    d. Select the SDK file “Hello World Simulation_V0.sdk” from the zip-file and click on “Open”

    mceclip1.png
    Figure 1 - Install Missing SDK

Hello World Example

mceclip5.png
Figure 2 - Hello World Example - Model Diagrams

 

Compiling Application

  1. Open the “Build” Ribbon
  2. The “Run Configuration” (framed green) is pre-selected

    mceclip6.png
    Figure 3 - Selected Run Configuration
  1. Press the “Compile” button in the Build Ribbon.

    mceclip7.png
    Figure 4 - Compile Hello World Example

Pressing the “Compile” button uses the built in GNU Toolchain for Windows. This Toolchain compiles the generated files and provides an executable in the defined output folder.


Run the Simulation

To run the simulation press the “Run” button in the “Build” Ribbon.

mceclip2.png
Figure 5 - Run Simulation

 

This will:

  • Start the application that was compiled before
  • Start the DATAFLOW Simulator application.
  • Load the defined simulation in the Simulator application
  • Connect the simulation to the simulation server
  • Make the application start communicating with the server
  • Start the logging of interactions between the application and the server

    Figure 35 - Server Log - Communication between Server and Application

 

Finish

Enjoy the result an turn the LED on or off.

->    

Go back