Faculty Home Page
    Brno University of Technology, FEEC, DCI
;    Personal Pages of Pavel Kucera
  Department Home Page

 Personal Info
    Contact
    Curriculum Vitae
    Publications
    Products

 Projects
    GOLEM
    RTX
    ProjectBay

 Lectures
    BPPA
    KMIC
    MRTS
    MPOR
    MESI

 Others
    Quo Vadis, Eruditio?

 CAK
    Official Pages
   

 Links
    University
    Faculty
    Department


Use Firefox!

  
 

RTX® Real-Time Extension for Windows®



RTSS Downloader Project


Synopsis

RTX is a real-time extension based on Win32 API. It provides precise control of IRQs, I/O, and memory. It operates in Ring 0 with the highest performance and sustained interrupt rates of 30 KHz with an average IST latency of less than one microsecond. That's why RTX becomes more and more popular in control systems, especially in the area of diagnostic systems and real-time control systems.

The main disadvantage of this real-time extension is that accounts without administrative privileges are not allowed to run rtss processes (real-time processes); If they try, they'll get an error message: 'Service Control Manager access failure'. This feature blocks using RTX in many industrial applications.


Solution

To solve this problem there was developed special Win32/RTX service/loader application at the Department of Control and Instrumentation. Mechanism of the loading rtss process from Win32 environment under non-administrator account is described in the following figure.

Rtts Loader Scheme


Caption
  • Install/UninstallService are Win32/RTX processes installing and uninstalling RTXLoadService as a Windows service/driver.
  • RTXLoadService is Win32/RTX service loading rtss process from Win32 User Mode (Ring 3) into RTX Real-time Subsystem (Ring 0). To install this service, you have to use an administrator account. Once the service is installed, you do not need administrator account anymore. This service is able to start rtss processes from network and virtual volumes as well.
  • LoadRtssProcess is pure Win32 application interface transporting rtss process into RTXLoadService. This application runs under standard user account.

How to install this service
  • Copy service file (RtxLoadService.exe) into windows system directory '...\windows\system32\'.
  • Download and run under administrator account installation routine (InstallRtxLoadService.exe).
  • Reboot the computer or run service manually (run services.msc, right click on RtxLoadService and Run).

How to start rtss process

To run any rtss project as non administrator user simply run loader routine (LoadRtssProcess.exe):

loadrtssprocess [rtss_process.rtss]

Uninstalling service

  • Download and run under administrator account unistall routine.
  • Delete the service file '...\windows\system32\RtxLoadService.exe'

Files to Download

File Version Environment Size Description
RtxLoadService.exe
2.1
Win32/RTX 6.5 eval
160 KB Load service executable file
InstallRtxLoadService.exe
1.0
Win32
152 KB Installation executable file
UninstallRtxLoadService.exe
1.0
Win32
152 KB Uninstalling executable file
LoadRtssProcess.exe
2.1
Win32
160 KB Rtss Loader executable file


Piano Project




Download Piano GUI here.
Download Piano RTSS here.

Project is compiled under RTX SDK 6.5 evaluation version.

Mail Address   Ústav automatizace a měřicí techniky, VUT v Brně
Kolejní 2906/4, 612 00 Brno, Czech Republic
Phone   (+420) 541141154
Fax   (+420) 541141123
     
Last Update: 08/08/2008
By: kucera@feec.vutbr.cz