1. Serial Port Communications
- Posted by jc at cowgar.com Aug 30, 2003
- 413 views
Greetings. I am curious if anyone can point me in the right direction for serial port communications. I can do a simple open("COM1") but I need control on what baud, parity, stop, etc... I then went to the archive and found three programs of intrest. Serial Ports: Al Getz... when running any of the example programs, I recieve a machine level exception. Serial I/O: Peter Blue... Errs out trying to access com 2, 3 and 4. I can't find out where it's trying to access those ports. Serial Communications: Kondor Attila...the include files produce all sorts of errors of undefined variables, etc... I fixed a few bugs (hacking) and once fixing one, another pops up. About 10 bugs later I hung it up for this one too. Any suggestions would be greatly appriciated! Thanks, Jeremy
2. Re: Serial Port Communications
- Posted by rolf at rschr.de Aug 30, 2003
- 385 views
Al Getz wrote: > Sorry about that. > Something changed in the language that started causing > machine level crashes. I dont remember what it was now, > but i could probably look it up. > I have an updated version if you would like it. > It doesnt crash. > > Send me an email with your address and ill send it out > tonight. Hi Al, could you send it instead to Rob to add it to the archive? Thanks, Rolf
3. Re: Serial Port Communications
- Posted by jc at cowgar.com Aug 30, 2003
- 391 views
> Hi Al, > > could you send it instead to Rob to add it to the archive? In addition to, he means... being a holiday weekend, it might not get put on the site till next week and I'm programming this weekend away Jeremy
4. Re: Serial Port Communications
- Posted by eulev at DPG.HU Aug 31, 2003
- 415 views
<jc at cowgar.com> 2003.08.30. 12:34:13 -4h-kor =EDrta: >=20 >=20 > Greetings. >=20 > I am curious if anyone can point me in the right direction for serial=20 > port communications. I can do a simple open("COM1") but I need control=20 > on what baud, parity, stop, etc... >=20 > I then went to the archive and found three programs of intrest. >=20 > Serial Ports: Al Getz... when running any of the example programs, I=20 > recieve a machine level exception. >=20 > Serial I/O: Peter Blue... Errs out trying to access com 2, 3 and 4. I=20 > can't find out where it's trying to access those ports. >=20 > Serial Communications: Kondor Attila...the include files produce all=20 > sorts of errors of undefined variables, etc... I fixed a few bugs=20 > (hacking) and once fixing one, another pops up. About 10 bugs later I=20 > hung it up for this one too. >=20 > Any suggestions would be greatly appriciated! >=20 > Thanks, >=20 > Jeremy >=20 The Pcomm.ew is an example wrap, work correctly but send too many message if it is a HW error. For this reason is possibile from messages to weed. The sio_getch(..) is wrong in the old dll , the sio_reed(..) is better. I suggest to download from www.moxa.com (free) Product: PComm Lite for Windows 9x/Me/NT Version: 2.5 Date: 11/16/2001 Company: Moxa Technologies Co., Ltd Kondor Attila=