Dne Tue, 29 Jul 2008 09:00:39 +0200 Steve IK4WMH <[EMAIL PROTECTED]>  
napsal/-a:

> I just discovered that AFTER running Hyperterminal the test program
> runs ok and the baud rate, stop bits and word length are setting ok.

Looking at your logs and thinking about behaveour you described,
it seems that Synaser uses Clear DCB & SetCommState whereas Hyperterminal
GetCommState & Modify DCB & SetCommState, what is the common practice.

So you could go to method TBlockSerial.Config and replace line
     FillChar(dcb, SizeOf(dcb), 0);
by
     self.GetCommState;


HTH, pf





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to