Learn how to use the HAL Robotics Framework.

• documentation home
• decode
• Grasshopper SDK

• back to main site
• issues and bugs

4. Operator Workflows

4.1. Create a Workflow

4.2. Steps

4.3. Run a Workflow


4.1. Create a Workflow

Objective:

In this tutorial we’ll create an Operator Workflow in decode.

Requirements to follow along:

Background:

Operator Workflows are a set of collaborative work instructions for the operator of a Cell, Robots and any other peripheral devices, like sensors, that need to be controlled or feed into the process.

How to:

From the Workflow Editor screen, click on the three bar menu icon () in the top right-hand corner and Add a New Workflow. You can use the same menu to rename the Workflow, add other Workflows or delete the currently selected Workflow.


An empty Workflow isn’t very useful but offers a lot of potential.


4.2. Steps

Objective:

In this tutorial we’ll look at the different Steps that can be added to an Operator Workflow in decode.

Requirements to follow along:

Background:

An Operator Workflow is comprised of a sequence of multiple Steps which create the collaborative work instructions for the Cell and operator. Some Steps are informational, others request information from the operator, run computational tasks, or communicate with devices.

How to:


Workflows acts a collaborative work instructions for operators and connected devices.

Use the Item Type selector to choose the Step type you want to add and click the + button to add it. As usual, it is highly recommended to assign a useful Name to any Step. The standard Steps and their settings are listed below.

Operator Interactions


Workflow Steps can ask the operator for input about how the process should work.


An editor will be shown to the operator when asking for their input.

Non-Interactive
Structural
Ouputs

N.B. For any of these to run the Procedure must be validated by Validate or _Validate on Change in Operator Input.


4.3. Run a Workflow

Objective:

In this tutorial we’ll see how to run an Operator Workflow in decode.

Requirements to follow along:

Background:

Operator Workflows are a set of collaborative work instructions for the operator of a Cell, Robots and any other peripheral devices, like sensors, that need to be controlled or feed into the process. The Operator Workflow Executor is the only screen that an operator should need to interact with.

How to:

The Operator Workflow Executor screen has a few buttons at the top and nothing else, yet. The simulation/production mode toggle changes between running the virtual Robot or the real one. The Workflow selector allows the operator to choose which Workflow they want to run. The X resets the execution of a Workflow if for any reason the operator needs to start again or abort the current run. The play/pause button plays or pauses the execution and the circular arrows activates or deactivates the looping of the Workflow.

Once the Workflow is started Notifications, Confirmations, Inputs etc. will start appearing for the operator, as programmed in the Workflow.


The operator will continue to get instructions and be able to adjust the process until their Workflow is complete.


Continue to: 5. Advanced Programming