topic_realtimesuite

Kithara实时 - 常规功能

“实时套件”是一个Windows实时扩展模块。作为一个函数库,它涵盖了大部分基于PC自动化的不同领域:

  • 实时多任务系统
  • 硬件相关编程
  • 实时通信
  • 自动化和现场总线协议
  • 实时图像处理

Windows的实时

用“实时套件”能够很方便的进行Windows应用程序的开发,并满足”硬“实时的要求。

“实时套件”模块的常规功能包括以下几部分:

  • 常规管理,支持调试,系统信息,基本资源,设备的处理(“基础模块”),
  • 需要在内核层进行编程,能进行实时内存管理等。(“内核模块”),
  • 数学/三角函数和实时的字符串/实时内存函数(“运行时库”),
  • 拦截系统事件,安全故障处理程序(“系统模块”),
  • 截取PS/2键盘事件,模拟键(“键盘模块”)。

Base Module

General management, debugging-support, system information, basic resources, device-handling

  • 普通
  • Features

基础模块是所有基于 »实时套件«开发的系统的基础。他为普通windows应用程序提供各种基础功能接口:打开实时驱动;管理实时任务,版本信息,以及其他辅助用户调试的功能。此外他提供创建资源的接口,如创建线程,时间,回调函数,共享内存,数据和消息管道,快速互斥体等。

  • Functions for opening the driver
  • 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
  • Generated log messages compatible to Kithara Kernel Tracer

Kernel Module

Required for programming at kernel level, capable of real-time memory management etc.

  • 普通
  • Features

The Kernel Module is required to execute real-time code at kernel level and thus enables a real-time context. For this, every language is supported, which has the ability to generate machine codes for the target platform (32 bit or 64 bit). In general these languages are C/C++ or Delphi. However, other languages are also possible.

Furthermore, the Kernel Module supports real-time memory management, memory copy, and generic WDM drivers for plug&play installation.

  • Required for execution of real-time code at kernel level
  • Possibility of relocating instruction of single functions (only 32 bit)
  • DLLs are loaded directly into real-time context
  • Real-time memory management
  • Memory copy function for real-time context
  • Requires native machine code execution only in connection with C/C++ or Delphi
  • generic WDM driver for plug&play installation included
  • Kernel Module Addons: Kernel CPU Extension, Kernel Memory Extension

System Module

Interception of system events, Fail-Safe-Handler

  • 普通
  • 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")

Keyboard Module

Interception of PS/2 keyboard events, key simulation

  • 普通
  • Features

The Keyboard Module provides the handling of keyboard events at application or kernel level. Thereby, only PS/2 keyboards and 32 bit platforms are supported. Predefined key strokes can be intercepted, preempted, or simulated.

  • Keyboard inputs can be pre-empted
  • Simulation of keyboard inputs
  • Handling of keyboard events at application or kernel level (only 32 bit)
  • Interception of key strokes (Ctrl-Alt-Del, Alt-Tab etc.)