radioshell 3|5|6 command tty
This program does nothing else than to read one peace of output from the
computer interface of the Radiometer ABL 300, 500, or 600 series of acid
base laboratories into a buffer. Since the ABL 300 has no soft flow
control capabilities but is connected through a two wires fiber optical
line there is no handshake. The HL7 interfaces can not process the
incoming data at the required rate which results in lost
characters. The ABL 500 and 600 series, though capable of doing soft
flow control, require the
radioshell as well since the ASTM to HL7
translation might be too slow, especially when multiple subsequent ASTM
messages arrive at a fast rate.
radioshell is a small program that can read from the serial line
very quickly. It buffers the data and invokes the HL7 interface in the
background, piping to it the data read into the buffer. The main process
radioshell immediately resumes listening to the serial line.
radioshell takes over serial line related configuration
radioshell program makes use of the simple "message" formats of
Arguments to this program are: the selection flag for the type of ABL. This selects the message format to be used.
A subsequent arbitrary number of arguments set the command to be invoked for each message read. If this is specified to `-', a default command is used (`/usr/hl7/bin/abl300' or `/usr/hl7/bin/abl500')
The last argument is the path to the device node of the serial line (tty). If the tty argument is `-', the standard input is used instead.
The TTY parameter are hard coded into the
radioshell program as follows:
radioshell is used as a `getty(8)' program specified in
`/etc/ttys' or `/etc/inittab'.
ttyd0 "radioshell 625 -" unknown on ttyd1 "radioshell 300 -" unknown on
radioshellprogram writes a copy of each message as a file to a directory whose name is composed of the application and facility names. The filename is composed of the string `ABL' and the process id (pid) of the
radioshellchild process attached to it.
The application name (`ABL') and the facility name
(`060_IOP') are chosen at compile time. This is certainly wrong
radioshell might well be used for different
The process id is certainly a bad choice for numbering files, because process ids will repeat and thus do not reflect the order in time of the messages.
Messages are logged with syslog(3) and are most probably be found in the system directory `/var/log/messages'.
ttys(5), termios(4), getty(8), ascii(7), syslog(3), section Converting Printer Output to HL7, section An ASTM to HL7 Gateway for the ABL 500.