Visual Foxpro Serial Communication Tutorial
Thanks for your responses. What I am working with is a credit card authorization system that I am converting from FP2.6 to Visual. The BIN library that I used for my modem communication in the 2.6 version did an XOR on the string and returned one byte as the LRC. '123' returned an LRC of '0' (asc(48)) I've been trying to figure out how they are doing the xor in this bin library and if you have a clue, I'd love to hear it.lol Thanks again - Andy RE: Calculating LRC value for serial communications. (Programmer) 29 May 02 09:53. The following should give you what you need.
(Note: While written in VFP 7.0, I just checked, and it seems to work just fine in 5.0, and I'll assume 6.0 as well.
Visual Foxpro 9 Tutorial Pdf. Visual FoxPro 9.0 unlock with serial key. Learn how to successfully use our website by watching our flash video tutorial.
Hi, I am seeking a way to pull data through a serial port from a weigh scale. Would you be willing to show me what the code should look like in vb?
I am using vb6. I would appreciate the help as this is something I have to figure out now. The weigh scale I am using is the Bilanciai D800. My email address is Kamran Ashraf wrote: Hello All, I previously made an application to receive Data from Serial port in VB but now i am looking to receive through Visual Foxpro.
It is a Weigh Scale and it shows weight of anything which we place on it. Its output is continuous, so if anyone has code or can guide how to receive this into any textbox. Regards, Kamran. Dear kamran I made application in VFP for reading data from comm port of a indicator any kind of no matter please do the following steps. 1 connect the comport to your pc the cable is properly made for communication 2 mostly companies use different pin configuration in different indicators so please be confirm the cable is ok 3 first use hyper terminal to read the com1 port 4 make different setting in boud rate like 1200,2400 etc 5 your hyper terminal start showing the weight continuesly on terminal. This step is very important because once you received data you become very satisfied regarding cable and baud rate setting and the string that scale indicator returns some time it only shows weight, some shows date, some show time too, but this in weighing language we call it string we can configure the string in different format in indicator.
This is normal. 6 in vfp6,7,8,9 add mscomm active x in tools option controll add active. 7 know this is available in form control add it to form 8 use in init event thisform.olecontrol1.commPort=1 thisform.olecontrol1.POrtOpen =.T. Wirecast Mac Serial Keygen Photoshop. Know in on comm events read my_weight =thisform.olecontrol1.Input here use some string menupulation to get needed data.