Xref: utzoo comp.sys.amiga.hardware:8256 comp.sys.amiga.programmer:2691 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!celia!neil From: neil@celia.UUCP (Neil Richmond) Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.programmer Subject: Re: Serial Port Message-ID: <985@celia.UUCP> Date: 15 Apr 91 18:41:39 GMT References: <1991Apr10.002547.18565@sbcs.sunysb.edu> <1991Apr10.013125.14243@cunixf.cc.columbia.edu> <1991Apr10.162243.6477@sbcs.sunysb.edu> <1991Apr11.014252.14040@cunixf.cc.columbia.edu> <982@celia.UUCP> Reply-To: celia!neil@usc.edu (Neil Richmond) Organization: Rhythm & Hues, Inc., Hollywood Lines: 27 In article <982@celia.UUCP> celia!neil@usc.edu (Neil Richmond) writes: > >I am having a problem with my serial port. I don't know if it is a progamming >error or a hardware error. The problem is that I have to open and close the >serial device after every access to the device. I have noted that other >programmers can open the port and read during the course of the program's >execution. If I try this the program performs only 1 read and then keeps >returning the same data. If I open and close the port for each read, it works >fine. Thanks. I just wanted to add some info that might help someone tell me what the problem is. If I open the serial port and leave it open, it runs okay till I start doing anything in other windows. If I open another application, the mouse pointer gets very unresponsive. It starts putting out spurious data and the mouse pointer goes kind of cuckoo. The way it currently is, opening and closing the serial port each time, I lose the port when I make the code load and stay resident. The only way it works now is to run it from workbench or cli. This might be okay, but I would like to open the serial port just once. I figure I am losing some speed by opening and closing the serial device each time I access the port. Thanks neil -- Only 3183 shopping days left till the next millenium! Neil F. Richmond INTERNET: celia!neil@usc.edu Rhythm & Hues Inc. UUCP: ...{ames,hplabs}!lll-tis!celia!neil)