Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading from com port
Message
From
22/04/1998 03:08:27
Daud Mydin
Hwang-Dbs Securities Berhad
Penang, Malaysia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00093552
Message ID:
00093914
Views:
27
Hi,
After reading the help file I tried writing a simple program just to see what I can capture from the com port. When I tested the program, nothing happened. It seems like the OnComm event never get triggered. Why?

This is the code that I placed inside the OnComm event.

DO CASE

* Events
Case This.CommEvent = 5
Case This.CommEvent = 3
Case This.CommEvent = 4
Case This.CommEvent = 6
Case This.CommEvent = 2
wait window This.Input
Case This.CommEvent = 1
Case This.CommEvent = 7
wait window "EOF char found"
ENDCASE

----------

Any help appreciated.

regards
Daud

nb. I am sure that the com settings I use are correct
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform