Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Description

Object Name

The name of the object on the canvas

...

Example

A way to use the Historic Data Delete object is with the Line Graph object. Have a look at the following example.

...

We are using 3 Button objects and two Input Number objects. One Button object is connected to the Historic Data Delete object. By pressing that Button all the stored Historic Data will be deleted. The Historic Data Write object is used to store new data by adding a x and y coordinate and adding it by triggering the object via a button. Lastly to load the Historic Data we stored before into our Line Graph object we need the Historic Data Read object. When triggered it will give an array as an output and send it to the Line Graph object where all the data points we added before via the Historic Data Write object will be finally displayed.

...

You can see three buttons now, two numbers and the graph itself. To get an entry simply select a number for the x value and one for the y value. Then click “Write” to store the data in the object. After that click “Load Data” to display the data point in the Line Graph.

...

Next step we are going to add another data point. The Line Graph will connect all those added data points.

...

Adding another data point.

...

If you want to clear the graph, click the “Clear” button. This will clear all the data but only when you upload new data points to the Line Graph. So we hit “Clear”, chose 0 for x and y coordinate, click “Write” and then click “Load Data”. As you can see all data points before are deleted. With the Historic Data Delete object you can also delete only specific data points.

...