Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communication with COM1
Message
From
10/07/1997 22:43:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00038834
Message ID:
00039378
Views:
44
Francois

Are you telling me that you can turn the scale off and the computer does'nt restart,but disconnecting it does???

I assume that you send some kind off request to the scale to get the weight?
If the scale is turned off, you send the request.
And regarding if you are using oncomm event trapping or reading from the inbuffer, there is nothing to read!!!
The way I handel this in my comm software, I send a request, and if for some reason i dont get a reply for x seconds
i give a message that the terminal is disconnected.

If somebody is mixing the connectors on the DB9 supply them with a drawing!!

Best regards

Per Simmersholm

>The problem is i want to trap error when the user do someting wrong. The first thing is the DB9(RS232) is not connect properly. I unconnect the DB9 from the scale and i start my application form. The form do a connect to the com1 and close it. Supprise! The computer do a COLD REBOOT. Foxpro and Window 95 don't see nothing. No error code, nothing. Just a Reboot. Do you believe this?
>
>I realy need help on this, I realy need to trap this error.
>
>Thank you,
>
>Version: Visual Foxpro 5
>
>François Durocher
>(MIS-Troppus Groupe)
>(fmarc@total.net)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform