Hi,
I wonder if anyone can help me, please. I'm trying to do a simple read/write to the Arduino using VB. net and the NationalInstruments.Visa library. I can read OK, but the write operation doesn't work for me. There are so few examples for VB on the net. I've found some C# and tried to copy them, but I just can't make it work. I've stripped it right back to see what the issue is, and the Arduino UNO is just not seeing any bytes on the serial interface. I have tried using FormattedIO.Write as well, but with the same result.
This seems to be the age-old problem that as soon as your PC programs opens the serial connection, the interface in the Arduino resets the Arduino program.
Your PC program needs to pause right after opening the serial connection so the Arduino can reload it's program and get running.
Paul