Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Comm experts
Message
From
11/02/2002 08:49:24
 
 
To
11/02/2002 08:27:52
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00614817
Message ID:
00618262
Views:
36
Hi Tracy,

Next time you want to experiment with these 'fast' computers, try disabling the UART FIFO as a test. It may be the hardware and/or BIOS implementation that causes the problem. I have seen several cases where this will get you by.

Another approach is something like:
DO WHILE yourcomm.inbuffercount>0
	DOEVENTS
ENDDO
might help. Just watch out for ways that may hang the app in this case. Good error handling is a must.

>I'm glad you got it working David, but I think WAY BACK WHEN I got that idea (pausing to clear the buffer on fast computers) from Jim Livermore originally! I have to do it on really FAST computers, but not on slow/moderate ones. It seems to have something to do with speed of the uart chip in the port and the drivers too.
>
>Tracy
>
Previous
Reply
Map
View

Click here to load this message in the networking platform