Serial Port Visual Basic 2010 Tutorial
Hello friends, hope you all are enjoying the start of winter season. By the way, I really hate winter season and I just want to hibernate in this season. Well coming to our today's lecture, my today tutorial, serial port in VB 2010, is actually based on a request made by one of the member on my Facebook.
Hi,Arduino part works just fine. I checked with Serial monitor and it prints values. I know its problem in VB code.
Cause I don't know yet how to read serial data using VB code.I tried this tutorial as wellreceive'Error: Serial Port read timed out.' Tried as well this oneget nothing on console.Tried to follow this oneget nothing in my label tbSensorsTried this onenothing.VB code.
Hi,I didn't know that. Thank You I modded my VB program now to only open port at begging and I learned from thisthat I should probably add some Settings tab where I will open connection prior to sending/receiving data from Arduino and close it once I am done with changes.I am still trying to understand how to read data from Arduino. I think I figured out whats the problem. All applications I build from Visual Studio were only working when sending data, never when receiving data. I am able to turn on/off leds w/o any problems but always freezes or doesn't work at all when receiving data from Arduino.I followed above mentioned tutorial, like X one in last few days and again it didn't work. I opened Arduino IDE and its Serial Port monitor and sent 1 char of data, again it worked and send it back to monitoring tool. There is some error in my Visual Studio installation and that why nothing worked for me so far.I reset all, still unable to make it work.
I am using this plugin for VS.work anymore. I don't remember when it stopped working. My FW and AV is turned off. I tried both Visual Studio 2010 and Visual Studio 2013I think when trial expired, even though it still says in program 30 days remaining. I just reactivated trial again on same PC, weird. I think I gonna reinstall windows now.My latest VB code. Installed fresh windows.
Installed VS 2010, Arduino, Atmel Studio & Visual Micro. Still not working. I think my Arduino is broken or cable is f.

up.I am able to send 1 char over VS Serial monitoring tool from Visual Micro and after Arduino stops sending data to my PC, it just receives data after. Which is weird. I am able to send data and control Arduino but Serial monitoring tool in Visual studio doesn't receive data.It shows up in Device manager but it gets d/c and connects after when I send data to it. After it stops sending data I need to press reset button to make it send and receive data again from Visual studio.
From Arduino monitoring tool I can send and receive any amount of data:SI am having issues similar to these well. I already wrote a reply, but I lost Internet connection and reply was not saved Will try to write all I noticed again.First of all thanks again for answers, I will try all of Your solutions one by one. I have been learning how to implement db and login system. So far so goodI have tested Your solution AMPS-NCurrentRead is text box with name CurrentRead right? Just to be sure cause I am not receiving anything.My friend dropped by to my house today and tried to figure out the issue. Was unable to do so.
He also suggested we should short jump RX and TX on board, pins 0 and 1 saying that way Arduino will send all data to Serial monitoring tool he receives. Sadly that didn't work. Bcc 7 for sony vegas cracker. Thus I learned one new thing and noticed something interesting. When I send data to my Arduino RX led lights up but TX doesn't.
Visual Basic Serial Com Port Tutorial (visual Studio 2010)
So I opened Arudino.cc Serial Monitoring tool. I sent command 3 & 4 to turn off Arduino LED. It turns the LED on and Off, it lights up both LEDs RX and TX and it prints to Serial monitoring tool ' Arduino LED Off', ' Arduino LED On'. As I expected. Now I opened Visual Micros inside Visual Studio and sent again commands 3 & 4. This time only RX lighted up. TX didn't and nothing was received inside Visual Micro Serial monitoring tool.
I also tried to use Brays terminal, again only RX LED lighted up. I as well tried my Serial monitoring tool and other applications I coded in last few days, including Yours AMPS-N, TX LED when transiting commands 3 or 4 didn't light up, meaning only that Arduino didn't send any data to COM port. But yeah I can control it np from all apps I build so far and all monitoring tools I tried but in no project or monitoring tool, except Arduino.cc Serial monitoring tool, am I receiving any data from Arduino.Any thoughts on that? I didn't found any differences between Arduino Leonardo and other boards in this guideI need to send some signal to Arduino from my VB app to enable transmission to PC?