Thank you for reminding me LastError function - it returns Timeout. Yes,
first create, then Connect and then Config.
What's most isteresting is that this problem occures only after convertor
pluging in. Since there has been some trafic on the converted port, there's
no problem at all. However, other apps (not using synaser) can use the
converted port immediatedy and actually I have to use this 3rdparty apps to
make my app working (as described before). Hope I explained it in better way
:-)
Since other apps can work proprly even for the first time, the question is
why synaser can't ... :-(

Thank you in advance

-----Original Message-----
From: Lukas Gebauer [mailto:gebyl...@mlp.cz] 
Sent: Monday, December 28, 2009 4:07 PM
To: Ararat Synapse
Subject: Re: [Synalist] SYNASER - port initialization problem

> I'am fascinated by Synaser philosophy and successfully using it to 
> comunacate with DIRIS A20 multimeter over 485-to-USB convertor (based 
> on FTDI chip). But during final testing I've found out that my app 
> isn't able to connect to COM port after first pluging in the convertor 
> and multimeter. However, after another app using COM communication is 
> runned and connected to that COM port, my app is also able to pass 
> though and it fully works. My question is, is there any known issues 
> about initializing a virtual COM port in Synaser after system startup? 
> I'm using latest Synaser and compiling using Delphi6 under Windows XP.

Are you setting communication parameters by Config method? Did you test
LastError after this method? When Config failed, then serial port leave with
previous configuration.


--
Lukas Gebauer.

http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
http://geoget.ararat.cz/ - Geocaching solution



----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community Take
advantage of Verizon's best-in-class app development support A streamlined,
14 day to market process makes app distribution fast and easy Join now and
get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to