![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Yes, my routines ar based on commdriver.f . I will send you a zipped copy
of my app just in case you want to look at it. Suggestions and criticisms
are welcome.
-----Original Message-----
From: Mike Ghan [mailto:mikeghan_at_logix-controls.com]
Sent: Thursday, September 20, 2001 4:25 PM
To: sftalk_at_forth.com
Subject: [sftalk] Re: SIO.F -- Changing the Baud Rate
Bob, are your comm routines based on Commdriver.F (overlapped serial
I/O)? If not, I would be interested in your sample app as well.
Best Regards,
Mike
mikeghan_at_logix-controls.com
-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
Of Bob Nash
Sent: Thursday, September 20, 2001 3:20 PM
To: 'sftalk_at_forth.com'
Subject: [sftalk] Re: SIO.F -- Changing the Baud Rate
>From a turnkeyed app, the easiest way to change comm parameters is via
a
CommConfigDialog call and a menu option. But, you need to set up a
CommConfig DCB and some other semi-messy stuff.
Fortunately, I have code that is modularized using some very slick
serial
port code furnished by Rick. The code also allows selection of any com
port
within the legal range (e.g., high numbered com ports for
network-remoted
com ports).
Unfortunately, there is too much code to post here and I haven't the
time to
work up a sample app for posting on the FAQ server. If you care to wade
through it, I will send you the source for one of my turnkeyed apps,
including all of the pertinent serial comm "REQUIRES" files that were
furnished by Rick. The code I am sending creates a turnkeyed app under
ver.
2.2.2.9 that you can use to see how the com options work. But, it won't
be
of much use to you otherwise. Also, strange things may happen if you
have
anything connected to COM1 or COM2. If anyone else is interested, I can
ship them a copy too (after all, how many SFTalk voyeurs could there
possibly be?).
P.S. -- I am not sure that the serial port code is Rick's "latest and
greatest", but he developed it in May, 2001. It has been in continuous
service since that time with three different apps (each using two COM
ports). No hiccups yet.
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Fri Sep 21 2001 - 08:01:06 PDT
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:19 PST