IBM Support

How to schedule the execution order of tasks for MicroC projects in Rational Rhapsody

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:

  1. Launch Rational Rhapsody

  2. Open the desired project

  3. Navigate to class of your choice (for which you would like to enable scheduling)

  4. Right Click <Class_name> and select Features

  5. 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:

  1. Right Click DefaultComponent and select Features

  2. Navigate to the Scheduling tab

  3. Edit the values of property Offset






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

Document Information

Modified date:
27 May 2022

UID

swg21600383