Click here to Skip to main content
15,907,874 members
Home / Discussions / C#
   

C#

 
GeneralRe: String split? Pin
SRKSHOME21-Oct-10 3:22
SRKSHOME21-Oct-10 3:22 
GeneralRe: String split? Pin
Abhinav S21-Oct-10 8:30
Abhinav S21-Oct-10 8:30 
AnswerRe: String split? Pin
PIEBALDconsult21-Oct-10 3:11
mvePIEBALDconsult21-Oct-10 3:11 
AnswerRe: String split? Pin
_Erik_21-Oct-10 5:14
_Erik_21-Oct-10 5:14 
GeneralRe: String split? Pin
SRKSHOME21-Oct-10 20:46
SRKSHOME21-Oct-10 20:46 
Questionsomething faster than GetPixel and SetPixel ? Pin
inayathussaintoori21-Oct-10 2:18
inayathussaintoori21-Oct-10 2:18 
AnswerRe: something faster than GetPixel and SetPixel ? Pin
Abhinav S21-Oct-10 2:56
Abhinav S21-Oct-10 2:56 
GeneralRe: something faster than GetPixel and SetPixel ? Pin
inayathussaintoori21-Oct-10 13:12
inayathussaintoori21-Oct-10 13:12 
QuestionSomething like DataGridViewCheckBoxColumn Pin
Dewald20-Oct-10 23:27
Dewald20-Oct-10 23:27 
AnswerRe: Something like DataGridViewCheckBoxColumn Pin
Goutam Patra21-Oct-10 0:43
professionalGoutam Patra21-Oct-10 0:43 
Questionupkey on serialport Pin
caradri20-Oct-10 23:05
caradri20-Oct-10 23:05 
AnswerRe: upkey on serialport Pin
Rajesh Anuhya20-Oct-10 23:26
professionalRajesh Anuhya20-Oct-10 23:26 
GeneralRe: upkey on serialport Pin
caradri21-Oct-10 3:10
caradri21-Oct-10 3:10 
GeneralRe: upkey on serialport Pin
Rajesh Anuhya21-Oct-10 3:51
professionalRajesh Anuhya21-Oct-10 3:51 
GeneralRe: upkey on serialport Pin
caradri21-Oct-10 4:29
caradri21-Oct-10 4:29 
AnswerRe: upkey on serialport Pin
Rajesh Anuhya21-Oct-10 19:15
professionalRajesh Anuhya21-Oct-10 19:15 
Questionusing wild card characters in batch file Pin
prasadbuddhika20-Oct-10 20:23
prasadbuddhika20-Oct-10 20:23 
QuestionRe: using wild card characters in batch file Pin
Peter_in_278020-Oct-10 20:25
professionalPeter_in_278020-Oct-10 20:25 
AnswerRe: using wild card characters in batch file Pin
prasadbuddhika20-Oct-10 20:42
prasadbuddhika20-Oct-10 20:42 
AnswerRe: using wild card characters in batch file Pin
Rajesh Anuhya20-Oct-10 20:46
professionalRajesh Anuhya20-Oct-10 20:46 
Questiondesktop notification Pin
kjgiiy20-Oct-10 16:08
kjgiiy20-Oct-10 16:08 
AnswerRe: desktop notification Pin
Richard MacCutchan20-Oct-10 22:06
mveRichard MacCutchan20-Oct-10 22:06 
QuestionSerialPort Pin
Tichaona J20-Oct-10 10:56
Tichaona J20-Oct-10 10:56 
AnswerRe: SerialPort Pin
Luc Pattyn20-Oct-10 13:06
sitebuilderLuc Pattyn20-Oct-10 13:06 
There could be dozens of things wrong, getting a serial communication up and running requires all of them being right. Here are some suggestions:
- start by checking your physical connection by the simplest means, e.g. one party is constantly sending text (say one line every second), the other party uses HyperTerminal to receive them. Now experiment with cables, connectors, port settings, until characters are coming in.
- only when that works is it worthwhile expanding the software.

One immediate hint: ReadLine waits for a line of text, i.e. some characters ending on SerialPort.NewLine (which defaults to CR or LF or both, I can't remember). Your Write isn't sending any of them, try WriteLine.

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.


AnswerRe: SerialPort Pin
Rajesh Anuhya20-Oct-10 20:10
professionalRajesh Anuhya20-Oct-10 20:10 

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.