Visual Foxpro Serial Communication
07.09.2019 admin
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.
Visual Foxpro Database Missing
Serial Communication Tutorial
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.
How to: Receive Strings From Serial Ports in Visual Basic.; 2 minutes to read +5; In this article. This topic describes how to use My.Computer.Ports to receive strings from the computer's serial ports in Visual Basic.
- Reading Serial Port in VFP 9.0 - Visit our Forum to discuss: [Reading Serial Port in VFP 9.0] and [Reading,Serial,Port,90].
- 2023 by Lemon Squeezy. Proudly created with Wix.com. SIGN UP FOR MY LATEST BLOG POSTS. Visual Foxpro Serial Communication With Arduino. July 2, 2017. Share on Facebook0. Share on Twitter0. Please reload. Please reload.
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. Know in on comm events read myweight =thisform.olecontrol1.Input here use some string menupulation to get needed data.