Question & Answer
Question
How do you schedule the execution order of tasks for MicroC projects in IBM Rational Rhapsody?
Cause
You would like to prioritize the execution of tasks by scheduling its order in Rational Rhapsody
Answer
In order to schedule the execution order of the tasks, you can set the Offset property in Rational Rhapsody by following one of the methods shown below:
Method 1:
- Launch Rational Rhapsody
- Open the desired project
- Navigate to class of your choice (for which you would like to enable scheduling)
- Right Click <Class_name> and select Features
- Set the value of Offset under the General tab
Note: The execution occurs in the ascending order of these values
Method 2: You can also modify the Time Line scheduling by editing its values. Apply the steps below in order to edit the values:
- Right Click DefaultComponent and select Features
- Navigate to the Scheduling tab
- Edit the values of property Offset
![](/support/pages/system/files/support/swg/rattech.nsf/0/999a7222bde545d685257a300031a3e5/Content/1.1CA6.jpg)
Key Points:
- The order of the elements in the table are irrelevant to their scheduling and therefore are not retained
- This table consist of only the periodic tasks and express the timing in which they are executed. It is not taking priority into consideration and assumes that each task is running at the defined period and finishes at least before the duration is due
- The offset is defining (as you already understood) the first time in which the task starts to run
- The purpose of this table is to visualize the scheduling and edit it in a convenient way
- The main aim is to get to a scheduling that do not contain conflicts
- Two tasks will never execute together
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6.1;7.6.1.1;7.6.1.2;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21600383