Here we will create the first simplest robot which will save a value to a variable.
The purpose of this material is not to demonstrate all aspects of work in the platform, but to help a user understand the mechanics of developing first robots.
Run 'ElectroNeek Studio'.
Make sure the platform icon appeared on the tray. This means the 'ElectroNeek Robot' program has also been launched.
Make sure the license is active.
We'll need to use the 'Assign value to variable' activity to set a certain value to a variable.
Double-click (or drag and drop) the 'Assign value to variable' activity from the 'Basic' section which will add the block to the canvas.
Make sure the block is connected with 'Start'. If not, do it manually (or right-click on the block and choose 'Start from here').
The canvas should look like on the picture below.
We want to assign a value to a variable. Let the value be a string "Hello, world!".
Activate the 'Assign value to variable' activity by clicking on it and make sure the parameters appeared on the right panel.
hello_message in the 'Variable name' field.
To input a text only, leave the 'Set a value' option selected.
Hello, world! in the 'Calculate a value' field.
As a result, the canvas should look like on the picture below.
Press the start button at the top of the 'Studio'.
The result will look like on the picture below.
The 'Task finished successfully' message appeared in the console.
The variable value changed.
Repeat all the steps until the 3rd step of the 'Setting parameters' section.
"Hello, world! " + new Date() to the corresponding field of the 'Variable value' parameter. The screenshot of the window is shown below.
Run the algorithm. As a result, the text along with the current date will appear in the variables block.