In this article, we will introduce the explanations, features, and specific usage of flowcharts. By referring to this article, you can construct higher-quality workflows, including conditional branching in robot development.
1. Program Name of the Activity
System.Activities.Statements.Flowchart
2. Explanation
Up to Studio Version 2.0.2.0
- Quick Access: "Toolbox" > "Flowchart" > "Flowchart"
From Studio Version 2.0.3.0
- Quick Access: "Toolbox" > "System" > "Flowchart" > "Flowchart"
A flowchart is one of the workflows in akaBot Studio. It is used for complex conditional processing, allowing for loops, multiple conditional branches, and other complex operations. You can combine it with sequences to create processes, as shown in the image below.
3. Properties
4. How to Use
To use a "Flowchart," drag and drop it from the Activity Panel to the Designer Panel.
When you want to place target activities or sequences within the flowchart to create a workflow, move the cursor to "Start" in the flowchart. You will see square marks appear on the top, bottom, left, and right. By clicking and dragging these marks to the activity or sequence you want to start with, you can connect them with a line.
For other activities or sequences, when you hover the cursor over them, square marks will appear, and you can connect them to the desired activity or sequence to easily create a workflow.
If you want to perform conditional branching within the flowchart, drag and drop "Flow Decision" from the Activity Panel into the flowchart and connect it with a line.
Next, enter a variable or conditional expression into the "Condition" property under Others > Condition to set the condition.
After setting the condition, create the processing for when the condition is met ("True") and when it is not met ("False"), then link the corresponding processing to "Flow Decision" by hovering the cursor over it.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article