Keeping the DTR high with Delphi...
From: Arash Partow (arashp_at_hotmail.com)
Date: 02/19/04
- Next message: AlanGLLoyd: "Re: Bridge Double dummy - from C to Delphi #1"
- Previous message: Henry Bartlett: "Re: Searching within html files"
- Next in thread: Michael Brown: "Re: Keeping the DTR high with Delphi..."
- Reply: Michael Brown: "Re: Keeping the DTR high with Delphi..."
- Reply: J French: "Re: Keeping the DTR high with Delphi..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Feb 2004 21:19:40 -0800
Hi,
I was wondering if anyone out there knows of a way to keep
the DTR high on a com port for a few seconds after the
application that has initialized the com port has gone down.
also how can the handle of the com port be passed from 1
application to another?
the problem I'm facing is that there are two applications
that use a device that is connected to the com port. the
first application uses the device, its supposed to execute
the second application and give control of the com port to
the second application.
the problem is the DTR goes low during the process of starting
up the next application the device detects this and turns itself
off, however in the device there is a sort of "timeout" which
basically says if the DTR is low for less than 2 seconds for it
not to turn itself off.
so basically i want to :
1.) be able to transfer the handle of the com port from app1 to app2
2.) do it in such a way that the DTR is not set low for more than 2 seconds
my platform is win2k and I'm using delphi 5,6,7
Anyone have any ideas?
Arash Partow
__________________________________________________
Be one who knows what they don't know,
Instead of being one who knows not what they don't know,
Thinking they know everything about all things.
http://www.partow.net
- Next message: AlanGLLoyd: "Re: Bridge Double dummy - from C to Delphi #1"
- Previous message: Henry Bartlett: "Re: Searching within html files"
- Next in thread: Michael Brown: "Re: Keeping the DTR high with Delphi..."
- Reply: Michael Brown: "Re: Keeping the DTR high with Delphi..."
- Reply: J French: "Re: Keeping the DTR high with Delphi..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|