serial port problems

0 views
Skip to first unread message

Markarina

unread,
Nov 12, 2009, 4:43:51 AM11/12/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
I seem to be having problems using the standard serial port control
supplied by microsoft, in that the data received event does not always
trigger correctly, basically I have told it to trigger after receiving
29 bytes but occasionally it triggers after 28 or sometimes after 4. I
initially thought that it might be caused by the device sending the
data, but another program written in Java does not have any issues.
Also using a serial port monitor I can see the data coming in which is
how I have seen the fact that the event triggers incorrectly.

From reading some of the online microsoft documentation it would
appear that although not explicitly stated there are issues with
microsofts serial port control.

Does anybody know of anyway work around's to get the control to work
properly or know of a good set of 3rd party controls that I can use.
I'm guessing one possible way round this issue would be to look for
pin changes which hopefully might bypass the issue

Processor Devil

unread,
Nov 12, 2009, 5:13:31 AM11/12/09
to dotnetde...@googlegroups.com
I wonder if you visited this site...
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx
some useful things are said even in Comments section there...
If your problems persist, you can still use MSCOMM32.OCX

2009/11/12 Markarina <mar...@googlemail.com>
Reply all
Reply to author
Forward
0 new messages