This chapter guides you through a very simple tutorial to understand onCore's basics.
Aims of this Tutorial:
- Adding → Units to an empty Workflow.
- Adding a → Trigger Unit.
- Connecting → Cables between Units.
- Setting → Unit attributes.
- → Running the Project.
- Usage of the → Message Log.
Adding Units
| - Click on the Library tab in the Inspector.
|
| - Activate the "Search:" field and enter the name of the Unit you are looking for – in this case enter "print".
- Double click on the Print String Unit which shows up after entering the search term.
|
| - The Print String Unit should now be visible in the Workflow View.
|
| - Now add the Trigger on Start Unit. Use the same procedure as described above.
|
| - Both Units should be visible in the Workflow View by now.
- As you can see they are overlapping.
|
| - Drag the Trigger on Start Unit to the left side of the Print String Unit.
- After dragging, it should look like this.
|
Connecting Units
| - Click on the Out Port of the Trigger on Start Unit. A single click is sufficient.
- Now connect the Cable to the In Port of the Print String Unit by clicking on the In port.
|
Modifying Unit Attributes
| - Double click the "String:" Port on the Print String Unit.
|
| - Enter "Hello World" and press the enter key.
|
Running the Project
| - Open the Project menu.
- Select Run Project (shortcut: command + R).
|
| Project Running Indicator: This indicator is visible as soon as you run a Project. |
| Message Log Entry: The Message Log shows the value which you have specified on the Print String Unit. |