3M Laser Imager
Jesse Thorn
thorn at godot.radonc.unc.edu
Tue Aug 23 04:09:16 AEST 1988
I am having a problem interfacing a 3M Laser Imager with our VAXes
(running either BSD 4.3 or Ultix 2.0-1).
The LI can be controlled through a serial port that is configured for
data containing 8 data bits + 2 stop bits with even parity. The Imager
responds to simple ASCII commands that use a carriage return as a
message terminator.
The problem is getting UNIX to configure the tty line this
way - I just can't seem to get an 8 data bit/even parity setup.
I tried the following experiment to verify the Laser Imager line
characteristics: I hooked up a VT240 terminal that was configured to 8
bits, even parity, 2 stop bits, and the proper baud rate. I had no
problem controlling the Imager by typing in commands at the VT240
keyboard.
However, when the VT240 is hooked up to a serial port on one of our
VAXes the commands that the software driver sends show up as as
garbage (setting the VT240 to 7 bit data/even parity solves the problem).
Under software control the line is configured using ioctl calls to be
RAW, EVENP, LITOUT, and -CRMOD. I have grovelled through the source
code of the UNIX tty and don't see why this setup won't work. The
vendor claims that they have no promlems controlling the Imager with
VAXes running VMS, but know of noone doing so under UNIX.
Help advance the cause of medicine here at NC Memorial Hospital -
what's the solution?
- Jesse Thorn
More information about the Comp.unix.wizards
mailing list