Skip to Content

Generate Sensor Data in SAP Data Intelligence, Trial Edition

Generate sensor data and display it in a terminal by using SAP Data Intelligence, Trial Edition.
You will learn
  • How to use a Data Generator to generate random sample data
  • How to visualize the generated data via a Terminal

Please note in this tutorial GCP refers to Google Cloud platform and AWS refers to Amazon Web Services and Azure refers to Microsoft Azure.

  • Step 1

    Open the modeling environment for building pipelines via SAP Data Intelligence Modeler. To access the SAP Data Intelligence Launchpad in AWS or GCP or Azure you need go to the chapters 3.3 and 3.4 as described in the Getting Started with SAP Data Intelligence, Trial Edition guide. From SAP Data Intelligence Launchpad you could access the SAP Data Intelligence Modeler.

    As a result of the previous tutorial, you are logged as a system user to a default tenant and are at the Application Launchpad page.

    1. Open Modeler UI.

    2. While being in the Graphs tab in the Navigation on the left, click Create Graph and Use Generation 1 Operator to create a new pipeline. The pipeline opens in the editor.

      Create Graph
    3. Save graph.

      • Click Save.

      • Enter Name as test.myFirstPipeline.

      • Enter Description as My first pipeline in the pop-up window.

      • Click OK.

  • Step 2
    1. Find Data Generator Operator.

      • Open the Operators tab in the navigation pane on the left.

      • Search for Data Generator.

      Search Data Generator Operators

      IMPORTANT: The SAP Data Intelligence, Trial Edition comes with a Example Graph as well as with an operator called Data Generator. If you miss to open the Operators tab, you might end up opening the graph called Data Generator instead of adding the operator.

    2. Add the Data Generator operator to the pipeline by drag & drop.

      Add Data Generator
    3. Click Script to display the JavaScript snippet which is executed by the Data Generator.

      The JavaScript snippet opens in a new tab of the editor. You see that the Data Generator creates a new random sample record every 500 milliseconds and sends it via the output port of the operator. The sample data represents sensors for humidity, temperature etc.


    Close the tab for the JavaScript snippet.

  • Step 3

    Add a Terminal operator to the pipeline by drag & drop (you find this also in the Operators tab). Then connect the output port of the Data Generator operator to the in1 port of the Terminal operator. You need to place the connection exactly on the green circle.

    Add Terminal operator

    Afterward, click Save.

  • Step 4

    Click Run to execute the pipeline.

    Run Graph

    When the Status tab indicates that the pipeline is running, use the context menu Open UI of the Terminal operator to see the generated sensor data.


    Stop the pipeline by clicking Stop (you find it next to the Run button).

    stop pipeline
Back to top