Versions Compared

Key

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


...

Info

Several Example Projects are shipped with onCore designer.

Aims of this Tutorial

...

  1. Adding → Units to an empty Workflow.
  2. Adding a → Trigger Unit.
  3. Connecting → Cables between Units.
  4. Setting → Unit attributes.
  5. → Running the Project.
  6. Usage of Using the → Message Log to see Unit output.

Adding Units


GliffynameunitLibTab
  • Click on the Library tab in the Inspector.
GliffynameprintStringLookupActivate the "Search:" field and enter the name of the Unit you are looking for – in this case enter

Visual Instructions

Instructions

Notes

Image Added

  • In the Project Panel, click the Library tab.

You can access the Library quickly by using the option + space shortcut.

Image Added

  • Use the search field to find Units. 
  • Look for "print".
  • Double-click on the Print String Unit
which shows up after entering the search term.Image Removed
  • to add it to the Workflow View.

After entering a search term you can directly jump to the list of found Units by using the tabulator key. Select the desired Unit and add it to the Workflow View by pressing the enter key.

Image Added

  • The Print String Unit

should
  • is now

be Now add the
  • visible in the Workflow View.

Image Removed


Image Added

  • Add a Trigger on Start Unit

. Use the same procedure as described above.

Image Removed

Both Units should be
  • .

After entering a search term you can directly jump to the list of found Units by using the tabulator key. Select the desired Unit and add it to the Workflow View by pressing the enter key.

Image Added

  • Both Units are now visible in the Workflow View

by now
  • .

  • As you can see they are overlapping.
  • Image Removed

    Drag

    You can also use the Align & Distribute functions to reorder Units in the Workflow View.

    Image Added

    • Reposition the Units by dragging them.

    • Move the Trigger on Start Unit to the left
    side of
    • and the Print String Unit to the right.
  • After dragging, it should look like this.
  •  
     


    Connecting Units

    gliffysize300

    Visual Instructions

    Instructions

    Notes

    nameImage Added

    Connecting Wires
    • Click on the Out Port of the Trigger on Start Unit
    . A single click is sufficient
    • .
    Now connect
    • Connect the Cable to the In Port of the Print String Unit by clicking on the In port.

    By connecting the Trigger Ports you make sure that the Print String Unit gets executed after starting (= running) the Project.

    For detailed information about Cables, please refer to the chapter → Cables.
    For detailed information about Unit Triggers, please refer to the chapter → Unit Triggers & Events.

    Modifying Unit Attributes

    Image Removed

    Visual Instructions

    Instructions

    Notes

    Image Added

    • Double-click the "String:" Port on the Print String Unit.

    Image Removed

    Instead of modifying the Unit directly in the Workflow View you can also use the Inspector in the Project Panel. For more info refer to the chapter → Unit Attributes.

    Image Added

    • Enter "Hello World" and press the enter key.

    You have now modified one of the attributes of the Print String Unit. The text you entered will be printed to the Message Log.

    For detailed information about Unit Attributes, please refer to the chapter → Unit Attributes.

    Running the Project

    Image Removed

    Visual Instructions

    Instructions

    Notes

    Image Added

    • Open the Project menu.

    • Select Run Project

    (shortcut:
    • .

    The shortcut to run Projects is command + R

    )

    .

    GliffynamerunPro

    For detailed information about running onCore Projects, please refer to the chapter → Running an onCore Project.

    Image Added

    Image Modified

    Project Running Indicator: This indicator is visible as soon as you run a Project.

    Image Modified

    Message Log Entry: The Message Log shows the value which you have specified on the Print String Unit.