Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ncar!oddjob!mimsy!haven!umd5!uvaarpa!mcnc!godot!thorn From: thorn@godot.radonc.unc.edu (Jesse Thorn) Newsgroups: comp.unix.wizards Subject: 3M Laser Imager Message-ID: <978@godot.radonc.unc.edu> Date: 22 Aug 88 18:09:16 GMT Reply-To: thorn@godot.UUCP (Jesse Thorn) Distribution: na Organization: Radiation Oncology NCMH/UNC, Chapel Hill, NC Lines: 30 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