topic_realtimesuite

Kithara Real-time – General Functions

The »RealTime Suite« is a modular real-time extension for Windows. As a function library it covers a wide range of different areas, that are necessary for PC-based automation:

  • Real-time multi-tasking system
  • Hardware-dependent programming
  • Real-time communication
  • Automation or Fieldbus protocols
  • Real-time image processing
  • Automotive protocols

Real-time for Windows

With the »RealTime Suite« it is possible to develop applications for Windows in a simple way, which meet the requirements of “hard” real-time.

The general functions of the modular »RealTime Suite« consist of following components:

  • General management, execution at kernel level, real-time memory management, debugging-support, system information, basic resources, device-handling “Base/Kernel Module”),
  • mathematical/trigonometric and string/memory functions in real-time (“Runtime Library”),
  • Interception of system events, Fail-Safe-Handler (“System Module”),

Base/Kernel Module

General management, execution at kernel level, real-time memory management, debugging-support, system information, basic resources, device-handling

  • Common
  • Features

The Base/Kernel Module is generally the basis for every real-time system of Kithara RealTime Suite. It provides functions for opening the real-time driver from the Windows application as well as for the execution of real-time code at kernel level in order to reach the real-time context. It enables functions for general management tasks, version information and helper functions for debugging and for determining system information.

It also contains mechanisms for fundamental resources such as application threads, events, callbacks, shared memory, data and message pipes and fast mutex objects. Additonally, it provides functions for real-time memory management, memory copyas well as generic WDM drivers for plug&play installation.

The integrated KiK64 allows for 32-bit code to run on 64-bit systems (only for 64-bit versions of the software)

  • Functions for opening the driver
  • Execution of real-time code at kernel level
  • Retrieve error descriptions
  • Version information
  • Debugging support
  • Determining system information
  • Application threads
  • Functions for event and callback objects, fast mutex objects
  • Functions for shared memory
  • Data and message pipes with automatic decoupling between writing and reading side
  • Device information, driver management
  • Real-time memory management
  • Memory copy function for real-time context
  • Generic WDM driver for plug&play installation included
  • Generated log messages compatible to Kithara Kernel Tracer
  • KiK64 function: 32-bit code executable on 64-bit systems (only for 64-bit versions)
  • Only languages that can generate native machine code (C/C++ or Delphi)
  • Kernel Module Addons: Kernel CPU Extension, Kernel Memory Extension

System Module

Interception of system events, Fail-Safe-Handler

  • Common
  • Features

The System Module provides the interception of system events, e.g. protection faults and system crashes at the kernel level. For that purpose pre-registered handler (Callback functions or real-time tasks) can be started. Thus,  FailSafe handler ("BlueScreen handler") can be implemented and in case of an error a predefined reaction can be executed.

  • Interception of system events with Callback functions and real-time tasks
  • In the case of protection faults and system crashes at the kernel level
  • Implementation of FailSafe handler ("BlueScreen handler")