Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading and sending data to COM1
Message
 
To
05/06/2001 16:46:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00515411
Message ID:
00515435
Views:
17
Go to the Downloads section, search on "MSCOMM32", and download "Basic Serial Communication with MSCOMM". I found it a good starting point in using MSCOMM32 for accessing the serial ports. Additional searches will yield several other FAQs that help accessing the ports, determining status, ect... I have found MSCOMM32 to work very well, once you get accustomed to the "quirks". I really appreciated the Events it can generate, but with one "gotcha". After a "got data" event, if you "get" the data you may find that your computer is too fast and has not allowed all data to arrive at the buffer. This problem haunted me for days.

Good Luck!

>I require to send a record of data to a Hotel Front Desk billing system thru COM1 using an RS232 cable connection. The data is a single ascii data record that must be sent to COM1 & similar data read back from the same port. The way it works is this. If a bill is required to be sent to the main computer to bill an existing resident, a request is sent from my computer via COM1. My system must then await a response from COM1 before proceeding. How can i write code that will achieve this. Iam using VFP6.0 and WIN98. I hope someone can help becasue it all rests on this for THE BIG ONE!!!.
>
>Yours
>
>Des.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform