General information
The HART (Hardware Access in Real-Time) Toolbox can be used to generate Scicos-blocks for hardware that have a C/C++ interface. The blocks can be used under Linux for soft and hard real time tasks (RTAI). Blocks are provided for DAQ (COMEDI)
Features
- can easily added to Scilab 4.1.2, Scicoslab 4.4 or Scilab 5.3.2 !
- At the moment RTAI Codegeneration works for Scilab 4.1.2, scicoslab 4.4 and Scilab 5.3.2!
- RT_PREEMPT Codegeneration works for Scilab 4.1.2, scicoslab 4.4 and Scilab 5.3.2!
- module based structure
- the following modules are avaible: basis-module, comedi-module
- the same code can be used for soft real time (scicos/xcos simulation) or hard real time (RTAI)
- builder.sce / loader.sce based
- a new soft real time block improves the real time scaling for scicos
- Not only useful for hardware, just use the toolbox for any development of new Scicos-Blocks, which can be easy add to scicos
Download
Installation
Unpack the archive file and generate a link to the contrib dir of scilab:Compile the toolbox: Warning (only important if you are using RTAI): sudo make will not install the RTAI module! Either be a normal user and install HART or change to root (using sudo su) and then do make.
tar xvzf hart_0.4.4-src.tar.gz
cd {...}/scilab-{...}/contrib
ln -s {...}/hart_0.4.4 .
cd hart_0.4.3
Edit the Makefile and change "SCILAB = scilab", if needed.
make
Now the hart toolbox can be loaded by clicking on the menu entry "toolboxes" / "hart_0.4.4" in scilab.
If RTAI is installed on the PC, Scicos-Diagrams can be compiled to standalone realtime programs. Take a look at the RTAI-sites.