Hi All,
I'm really more of a C# programmer than VB (I got lumbered with it) and am trying to find a method of using Invoke or BeginInvoke to access data coming back from the serial port. I am now trying a method suggested by a friend (who is a VB guru!) to use SyncLock for reading data and not causing a thread race condition. This would seem to hold the data in a waiting loop while reading the data to a string until a condition is met (carriage return & or line feed, set period of times, etc.). Can I get an opinion on this as I do not want to use Thread.Sleep() due to the likelihood of this either breaking or locking the machine.
Glenn