I am developing the software for the manufacturer and he needs a \004 to trigger an event in the microcontroller.
If I press alt 004 in tera term and hyperterminal it works. I need to emulate that same sequence or character or byte to beable to communicate with the device. If you enter a "Alt 004" at the cursor on these 2 terminal programs, what is sent to the serialport?
BTW I am using VS2010 beta on Vista, could that also be a factor?
Thanks I changed ASCIIEncoding to UTF8Encoding now it works perfectly. I used a serial port monitor to capture the returned data. Exactly as it should be. Problem now, I can capture the data on the port monitor, but where is it going in my code. I need to read it into an array and then acess it to draw a graph. Any Ideas on how and where I should code it?
I am just wondering if you are still having problems with the serial port. If so, I developed a serial port programming language in C# and I believe it solves nearly all of the problems that everybody encounters with.
Would you please take a look and try it ?
For example; I think you want to send <EOT> control character to the serial port. You can do it easily with this application.
Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.
This thread is more than three months old
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.