Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
AnswerRe: overriding System.Diagnostics..::.DebuggerStepThroughAttribute Pin
Rob Smiley30-Jun-09 11:43
Rob Smiley30-Jun-09 11:43 
GeneralRe: overriding System.Diagnostics..::.DebuggerStepThroughAttribute Pin
Dan Neely1-Jul-09 2:13
Dan Neely1-Jul-09 2:13 
Questionserial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Arpita Patel30-Jun-09 6:52
Arpita Patel30-Jun-09 6:52 
AnswerRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
monstale30-Jun-09 7:08
monstale30-Jun-09 7:08 
GeneralRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Arpita Patel30-Jun-09 9:31
Arpita Patel30-Jun-09 9:31 
AnswerRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Jimmanuel30-Jun-09 7:09
Jimmanuel30-Jun-09 7:09 
AnswerRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Luc Pattyn30-Jun-09 7:26
sitebuilderLuc Pattyn30-Jun-09 7:26 
AnswerRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Tr@v1-Jul-09 10:59
Tr@v1-Jul-09 10:59 
I do a lot of RS232 programming for my job. All of our messages usually start with a special character, such as the <stx> hex 0x02 character, followed by a message identifier that we use to let the program know what to do with the message. Then the message is ASCII encoded text followed by a termination character, such as <etx> hex 0x03. When a message is received, the starting character, message identifier, and ending character are stripped from the message which is then passed to whatever part of the application it is intended for. If you are having trouble with receiving and sending data, make sure that you are using a crossover cable <null modem=""> which has the send and receive wires switched at one end of the cable. If you use a straight through cable then the receiving computer will not be getting the data on the receive pin but the transmit pin, which it won't process. By definition, serial communication means that you cannot get two messages at the same time as you are transmitting the bytes in a 'series'. So as long as you are looking for the stop character to terminate a message then the next message should not get jumbled or lost as long as you don't overrun the buffer.
GeneralRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Member 647306611-Aug-09 6:00
Member 647306611-Aug-09 6:00 
GeneralRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Member 647306614-Oct-09 5:58
Member 647306614-Oct-09 5:58 
GeneralRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Tr@v14-Oct-09 7:30
Tr@v14-Oct-09 7:30 
GeneralRe: serial port communication between computer and another hardware device via RS232 in C# for windows Application Pin
Member 647306614-Oct-09 11:11
Member 647306614-Oct-09 11:11 
QuestionCustom config sections problem. Pin
Zeokat30-Jun-09 4:48
Zeokat30-Jun-09 4:48 
AnswerRe: Custom config sections problem. Pin
Sk9330-Jun-09 5:10
Sk9330-Jun-09 5:10 
GeneralRe: Custom config sections problem. Pin
Zeokat30-Jun-09 6:12
Zeokat30-Jun-09 6:12 
JokeRe: Custom config sections problem. Pin
Sk9330-Jun-09 6:13
Sk9330-Jun-09 6:13 
QuestionToString() method on objects returned from a webservice (Compact framework) [modified] Pin
c0ax_lx30-Jun-09 4:43
c0ax_lx30-Jun-09 4:43 
AnswerRe: ToString() method on objects returned from a webservice (Compact framework) Pin
SeMartens30-Jun-09 4:52
SeMartens30-Jun-09 4:52 
GeneralRe: ToString() method on objects returned from a webservice (Compact framework) Pin
c0ax_lx30-Jun-09 4:57
c0ax_lx30-Jun-09 4:57 
GeneralRe: ToString() method on objects returned from a webservice (Compact framework) Pin
SeMartens30-Jun-09 5:08
SeMartens30-Jun-09 5:08 
GeneralRe: ToString() method on objects returned from a webservice (Compact framework) Pin
c0ax_lx30-Jun-09 23:14
c0ax_lx30-Jun-09 23:14 
QuestionQuick quest Pin
gwithey30-Jun-09 4:29
gwithey30-Jun-09 4:29 
AnswerRe: Quick quest Pin
musefan30-Jun-09 4:35
musefan30-Jun-09 4:35 
GeneralRe: Quick quest Pin
gwithey30-Jun-09 4:44
gwithey30-Jun-09 4:44 
AnswerRe: Quick quest Pin
c0ax_lx30-Jun-09 4:45
c0ax_lx30-Jun-09 4:45 

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.