X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Petr Maxa" Newsgroups: comp.os.msdos.djgpp Subject: Re: recomend simply and good rs232 library please Date: Fri, 25 Jan 2002 00:13:46 +0100 Lines: 78 Message-ID: References: NNTP-Posting-Host: dial245.za.euroweb.sk (195.72.5.245) X-Trace: fu-berlin.de 1011914088 36625023 195.72.5.245 (16 [127824]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks a lot for Your responze. You help me a lot. I just wanted to hear some opinions about this matter to start tests. It is always good to here opinion someone who has experiencies in some area. I try one of them and let You known my results. > By the way what is hanging on the other end of the multiport serial > card? Does that card use 16554 or 16552s? We use 16550, 16540 ports. As multiport card we use Flynix - 4 ports (16540), MOXA - 8 ports (16C550) or other. Petr "Andrew Cottrell" píse v diskusním príspevku news:g16t4ucm984s46r6jm9bgilpugbi2ocs2a AT 4ax DOT com... > >I would like to hear from You a recomendation for simple but good rs232 > >library for djgpp. > >It should be used on PC (DOS) with aproximately 8 ports and com speed 19200 > >bit/sec. > This limits it to two as far as I know PMCOM and DZCOMM. There are a > number of single port comms libraries and there may be a few more > multiport comms libraries available, but I have not used them. > > The serial comms libraries are in the v2tk directory. > > >As the communication might be logged, it should be bulet proof mainly > >because of huge amount of disk writing. > > I have logged over 320 MB in 15 hours on a 486 DX2-66 on a single > serial line runnign at 9600 baud using PMCOM. I have a Data sniffer > application in source code form that is fully self contained it > includes PMCOM and timers (cut down Allegro to minimise exe size) that > is available at http://homepages.ihug.com.au/~acottrel/ > > There have been a number of improvements and enhancements made to > DZCOMM since I last used it. > > Logging to the hard drive is the tricky part as you need to way up the > time to write a block of data, CPU usage in writing the data, type of > H/D in respect of access time, storage buffer to save data before > writing to the hard drive and finally the amount of dat abeing > received. > > >Where do I find such serial comms packages, and would they be for 32-bit DOS > >(DPMI) without MS-Windows? > Both PMCOM and DZCOMM work on MS-DOS with CWSDPMI and under Win 9x, NT > 4.0, 2K and XP. > > >I have Borland version of this program working quite well, but I am getting > >out of memory, so I try to look for other alternatives. > PMCOM also works with Borland so you if you investigate using this > then you may be able to do a staged upgrade. > > >I would like also to hear about other possible alternatives with 32 bit > >protected mode system, which is reliable and simple as DOS is but runs > >nauraly in 32 bit mode (no 16 bit switching) > You may also want to have a look at Linux if you want to use another > 32 bit OS, but I do not have any experience in Linux serial comms. > There are other commercial 32 bit OS's out there, but you need to > consider maintenance and costs. > I would try DJGPP and PMCOM or DZCOMM first as it will be the least > cost and time compared to other alternatives. If you don't like it > then you have only spent time in learning what DJGPP is capable of. > > By the way what is hanging on the other end of the multiport serial > card? Does that card use 16554 or 16552s? > > By the way PMCOM also supports 9 bit protocol (wakeup mode). > > Andrew > >