Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!rutgers!cbmvax!vu-vlsi!swatsun!jackiw From: jackiw@cs.swarthmore.edu (Nick Jackiw) Newsgroups: comp.sys.mac.programmer Subject: Serial Driver Query Keywords: help, programming, serial Message-ID: <2411@masada.cs.swarthmore.edu> Date: 10 Feb 89 16:24:02 GMT Reply-To: jackiw@swatsun.UUCP () Distribution: na Organization: Visual Geometry Project, Swarthmore College, PA Lines: 30 Hi...this is one anyone who's used the Serial Driver can answer (please do). I don't know diddly about asynch serial I/O, but recently I've been requested to write a simple throughput program which reads commands from a Sperry animation system (at its maximum speed, 9600baud), translates them, and spits them out to a Sony BVU 950 video editing deck (at its minimum speed, 38400 baud). Currently, we have a PC whose SOLE PURPOSE is to do this task, and I can free that up by doing a Mac version as a background (hook'd, not multifinder) task on our File Server mac, which is on all the time. I've taken a glimpse through IM II-249, and it seems like a piece of cake, but I thought I'd ask if anyone can foresee complications right off the bat. Specifically, I notice that the serConfig constants include baud9600 and baud19200 and baud57600, but no baud38400. MY QUESTION IS: If I use the csCode=13 csParam=38400 to set the baud rate manually, will it give me 38400 baud or will it bump my requested 38400 to its nearest serConfig (i. e. 19200 or 57600)? Any help would be greatly appreciated. -Nick -- +-------------------+-jackiw@cs.swarthmore.edu / !rutgers!bpa!swatsun!jackiw-+ | nicholas jackiw | jackiw%campus.swarthmore.edu@swarthmr.bitnet | +-------------------+-VGP/MathDept/Swarthmore College, Swarthmore, PA 19081--+ "I cannot approve thy marriage choices, son."(Samson's dad, _Samson Agonistes_)