Hi All!
I have made a digital scale using an Arduino Uno. I want the serial data to be sent to a VB.Net app. All I want to capture is a single number of type double. That would be the weight of the object in ounces rounded to the nearest hundredth. I would like this to run as a service or hidden so that anytime this number is received, a window would pop up telling me this number. I've created a serial instance called "s." and initiated all of the usual suspects such as baudrate, databits, etc. The Serial port is COM6 and will never change, so that is hard coded as well. My problem is two fold. Should I use "x = s.Readline" to receive the data or is something better? And how can I make it just sit there, waiting for a number to be sent before a pop-up box shows up and displays it?
Thanks in advance for any help!
Tom
I have made a digital scale using an Arduino Uno. I want the serial data to be sent to a VB.Net app. All I want to capture is a single number of type double. That would be the weight of the object in ounces rounded to the nearest hundredth. I would like this to run as a service or hidden so that anytime this number is received, a window would pop up telling me this number. I've created a serial instance called "s." and initiated all of the usual suspects such as baudrate, databits, etc. The Serial port is COM6 and will never change, so that is hard coded as well. My problem is two fold. Should I use "x = s.Readline" to receive the data or is something better? And how can I make it just sit there, waiting for a number to be sent before a pop-up box shows up and displays it?
Thanks in advance for any help!
Tom