RtfTclX
-
Rtftclx - Tcl extension to handle Real-Time FIFO (rtf)
-
rtf_debug Boolean-exp
-
rtf_open rtf-num access
-
rtf_close rtf-id
-
rtf_read rtf-num nb-of-bytes
-
rtf_write rtf-num byte-buffer
-
high-level
-
rtf_openEmitter rtf-num handler
-
rtf_closeEmitter rtf-id
-
ARGUMENTS
-
Boolean-exp ::= Tcl expression that returns
0 or 1
-
rtf-num ::= number of the RT-FIFO (installation-dependent;
0..63 usually)
-
rtf-id ::= name of a RT-FIFO device ( rtf0,
rtf1, ..., rtf63)
-
access ::= a char ( r for read or w
for
write)
-
nb-of-bytes ::= integer, number of bytes
to read or write
-
byte-buffer ::= a ByteArray
-
handler ::= a Tcl's proc
-
CURRENT VERSION
-
# 1.2
-
April 26, 2000
DESCRIPTION
rtftclx is a package that makes it possible to handle Real-Time
Fifos from a Tcl script.
In what follows RTF stands for Real-Time FIFOS.
Real-Time Fifos are Unix devices used by RTLinux
and RTAI.
Tcl cannot directly open/close/access to RTFs.
Instead of writing Tcl's device handlers for RTFs, I have dveloped
this package.
Most operations are programmed in C, because C can access to RTFs as
ordinary files.
COMMANDS
-
rtf_debug Boolean-exp
-
If Boolean-exp evaluates to 0 then the debugging for RTF is disabled; else
it is enabled.
-
Default is debugging off.
-
USAGE
AUTHOR
Charles ANDRÉ
I3S Laboratory
BP 121
06903 SOPHIA-ANTIPOLIS cédex (FRANCE)
Tel: (33) 4 92 94 27 40
Fax: (33) 4 92 94 28 96
web: www-mips.unice.fr/~andre
E-mail: andre@unice.fr
Last update : June 25, 2000
Mail remarks and suggestions to andre@unice.fr