RRhelp

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Realtime Roundrobin
Introduced first in SolidGeometry 3.5, Creation date: 2017-03-02, Last change: 2025-08-19

returns the help text for the Round-Robin realtime-environment

Description

The Round-Robin realtime-environment should help to understand how simple realtime systems can be implemented in Matlab or on Mikrocontroller without realtime operating systems. Round-Robin is a sub-optimal realtime solution but should be understood before using something such QNX or Kithara. It consists of two concepts:
a) A list of tasks (i.e. function calls) that are executed sequentially every nn milliseconds
b) A user shell that allow to modify dynamically this task list during execution

THE SHELL
- RRshell opens a figure, installs a new keyboard function, collects data and executes commands using the Matlab function EVAL. RRshell stops after a predefined period of time. The user has the feeling still to use the Matlab command line. Only the different prompt shows the difference.
- RRkeyboardCallback is the keyboard callback function installed by RRshell to collect keyboard data similar to the Matlab command line. The entered character lines are interpreted and executed by RRshell. The function is visible since maybe also other tasks should have access to the keyboard chars.

See Also: RRshell , RRkeyboardCallback , RRcreateTasklist

Example Illustration

 missing image of RRhelp

Syntax

RRhelp




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

The function RRhelp is part of the Round-Robin real-time environment, designed to demonstrate how simple real-time systems can be implemented in MATLAB or on microcontrollers without real-time operating systems. The Round-Robin approach is a basic real-time solution that executes tasks sequentially at regular intervals.

Key Concepts

The Shell

Functionality

The RRhelp function calls helptextofcaller, which likely displays help text related to the Round-Robin environment or the specific function from which it is called.

Related Functions

Algorithm explaination created using ChatGPT on 2025-08-19 07:14. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21