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 DevTool'.
Make sure the platform icon appeared on the tray. This means the 'electroNeek Agent' program has also been launched.
Make sure the license is active.
We'll need to use the 'Assign value to variable' function to set a certain value to a variable.
Double-click (or drag and drop) the 'Assign value to variable' function from the 'Basic' section which will add the block to the workspace.
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 workspace 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' block 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 workspace should look like on the picture below.
Press the start button at the top of the 'DevTool'.
The result will look like on the picture below.
The 'Task finished successfully' message appeared in the console.
The variable created above appeared in the block with variables and its value.
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.