| | |
Send correct ascii to serialport
Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Aug 2009
Posts: 40
Reputation:
Solved Threads: 0
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?
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?
•
•
Join Date: Aug 2009
Posts: 40
Reputation:
Solved Threads: 0
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?
•
•
Join Date: Aug 2009
Posts: 40
Reputation:
Solved Threads: 0
this resolved my problem for receiving and displaying the data
http://social.msdn.microsoft.com/For...0-863ccd4c67f3
thanks for the help
http://social.msdn.microsoft.com/For...0-863ccd4c67f3
thanks for the help
Last edited by procomp65; Sep 7th, 2009 at 3:23 pm.
![]() |
Similar Threads
- HP Pavilion 750C Won't Boot Even to BIOS (Troubleshooting Dead Machines)
- how can i send selected checkbox values to email? (PHP)
- Receiving Data w/ C# (C#)
- Factorial of a number (C)
- Php ini setting--mail function (PHP)
- Help!.. New HD/ Need 2 Load ME O/S (Windows 95 / 98 / Me)
- ERROR with my email, getting sent strange emails :( (Geeks' Lounge)
- sendmail config (Linux Servers and Apache)
Other Threads in the C# Forum
- Previous Thread: how to create array of button in C#
- Next Thread: Struggling on reading excel spreadsheet
Views: 1009 | Replies: 12
| Thread Tools | Search this Thread |
Tag cloud for communication






