Kithara real time—Basic Functions

Kithara RealTime Suite is a modular real-time extension for Windows operating systems. As a function library, it covers a wide range of different areas that are required for PC-based automation:

  • Real-time multitasking system
  • Hardware-dependent programming
  • Real-time communication
  • Automation and fieldbus protocols
  • Real-time machine vision
  • Automotive protocols

The basic functions of the modular system of Kithara RealTime Suite consist of the following components:

  • General management, execution of real-time code at kernel level, real-time memory management, debugging support, system information (Base/Kernel Module),
  • Interception of system events, fail-safe handler (System Module),

Base/Kernel Module

General 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-and-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")