Click here to Skip to main content
15,851,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help with serial data display Pin
ColinBurnell10-Nov-10 22:20
professionalColinBurnell10-Nov-10 22:20 
AnswerRe: Help with serial data display Pin
Luc Pattyn9-Nov-10 8:26
sitebuilderLuc Pattyn9-Nov-10 8:26 
GeneralRe: Help with serial data display Pin
turbosupramk39-Nov-10 8:42
turbosupramk39-Nov-10 8:42 
AnswerRe: Help with serial data display Pin
Luc Pattyn9-Nov-10 8:50
sitebuilderLuc Pattyn9-Nov-10 8:50 
GeneralRe: Help with serial data display Pin
turbosupramk39-Nov-10 11:31
turbosupramk39-Nov-10 11:31 
GeneralRe: Help with serial data display Pin
Luc Pattyn9-Nov-10 11:52
sitebuilderLuc Pattyn9-Nov-10 11:52 
GeneralRe: Help with serial data display Pin
turbosupramk39-Nov-10 17:24
turbosupramk39-Nov-10 17:24 
GeneralRe: Help with serial data display Pin
Luc Pattyn9-Nov-10 17:48
sitebuilderLuc Pattyn9-Nov-10 17:48 
Hi,

some comments:

1.
as your terminal emulator is working, it would be time to try the binary mode I have shown earlier. It has the advantage of (a) showing the exact bytes you're getting, and (b) you're using your own code (as opposed to the terminal emulator).

2.
you should set the port's properties right when you open it, and not in its DataReceived handler, i.e. after having gotten some data already.

3.

turbosupramk3 wrote:
serialPort1.NewLine = "(13)";


that is non-sense. You need a CR character, which is represented by \r in C-like languages. cfr my first reply.

4.
I wouldn't use a single TextBox for both input and output, at least until everything works well. I also wouldn't spend all that effort in the GUI stuff until such moment that the serial comm is working fine.

I think you're getting closer to the solution!

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Help with serial data display Pin
turbosupramk310-Nov-10 4:03
turbosupramk310-Nov-10 4:03 
GeneralRe: Help with serial data display Pin
NedPat10-Nov-10 20:38
NedPat10-Nov-10 20:38 
GeneralRe: Help with serial data display Pin
ShafiqA11-Nov-10 19:29
ShafiqA11-Nov-10 19:29 
GeneralRe: Help with serial data display Pin
Adam Yonce10-Nov-10 3:50
Adam Yonce10-Nov-10 3:50 
GeneralRe: Help with serial data display Pin
turbosupramk310-Nov-10 4:05
turbosupramk310-Nov-10 4:05 
NewsRe: Help with serial data display Pin
turbosupramk310-Nov-10 15:41
turbosupramk310-Nov-10 15:41 
AnswerRe: Help with serial data display Pin
davidwz9-Nov-10 20:04
davidwz9-Nov-10 20:04 
AnswerRe: Help with serial data display Pin
DarthDana10-Nov-10 5:59
professionalDarthDana10-Nov-10 5:59 
QuestionHow can I get the filename and sourcepath of a running process? Pin
Erik9-Nov-10 0:52
Erik9-Nov-10 0:52 
AnswerMessage Closed Pin
9-Nov-10 1:15
stancrm9-Nov-10 1:15 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 4:56
professionalRaviRanjanKr9-Nov-10 4:56 
AnswerRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 4:55
professionalRaviRanjanKr9-Nov-10 4:55 
AnswerRe: How can I get the filename and sourcepath of a running process? Pin
Luc Pattyn9-Nov-10 5:10
sitebuilderLuc Pattyn9-Nov-10 5:10 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 5:24
professionalRaviRanjanKr9-Nov-10 5:24 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
ShilpaKumari10-Nov-10 1:20
ShilpaKumari10-Nov-10 1:20 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr10-Nov-10 2:29
professionalRaviRanjanKr10-Nov-10 2:29 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
AshishKr15-Nov-10 2:35
AshishKr15-Nov-10 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.