What a dumbass I'am. I was debugged read requsts (Timeout) but not the config. It returned 'The parameter is incorrect' and it's clear that the app couldn't work with this settings. Yestreday I tried to change everything but stopbits because the device is set to 1 stopbit - still returning errors. However today morning I changed the stopbits to 2 and it accidentaly started to work. I've no clue why it's working with 2 stopbits in settings of my app and 1 stopbit in settings of that device, but it's working :-)
Thank you very much, Lukas -----Original Message----- From: Lukas Gebauer [mailto:[email protected]] Sent: Tuesday, December 29, 2009 5:05 PM To: Ararat Synapse Subject: Re: [Synalist] SYNASER - port initialization problem > 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 ... :-( Timeout as result of Config call? It is't possible. You really got timeout error as result of Config call? Please, write here how you are calling Config. IMHO you have some parameter bad (Stop bits?) and Config failed. Serial port stay in previous state, until some other program configure it correctly. -- 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 [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
