Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using MSCOMM with USB to serial device
Message
From
02/06/2008 12:57:55
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320080
Message ID:
01321047
Views:
19
As you pointed out, my code was not waiting for input from the device.

The problem was that when I tried pausing the code, I was watching the object in the debugger the debugger. The debugger not only read the input property it also cleared the input buffer before I got to the pause in execution.

By adding a pause to the code, it works fine as long as I don't try to watch in the debugger.

Thanks again.
Previous
Reply
Map
View

Click here to load this message in the networking platform