Click here to Skip to main content
15,914,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Background sql connection Pin
led mike30-Oct-07 6:35
led mike30-Oct-07 6:35 
GeneralRe: Background sql connection Pin
ev00l31-Oct-07 8:10
ev00l31-Oct-07 8:10 
GeneralRe: Background sql connection Pin
led mike31-Oct-07 9:13
led mike31-Oct-07 9:13 
GeneralRe: Background sql connection Pin
ev00l1-Nov-07 4:35
ev00l1-Nov-07 4:35 
GeneralRe: Background sql connection Pin
led mike1-Nov-07 5:58
led mike1-Nov-07 5:58 
QuestionHello Pin
anu91430-Oct-07 4:16
anu91430-Oct-07 4:16 
AnswerRe: Hello Pin
Malcolm Smart30-Oct-07 4:18
Malcolm Smart30-Oct-07 4:18 
AnswerRe: Hello Pin
Luc Pattyn30-Oct-07 4:56
sitebuilderLuc Pattyn30-Oct-07 4:56 
Hi, lacking a lot of essential information, here are just some ideas:

1.
Sending/receiving text is easier to debug than sending/receiving binary data, so if you
have a choice, start experimenting with text. There are many reasons for this: the serial
driver may react on special characters such as CR, LF, ENQ, ACK, CTRL/S, CTRL/Q, etc, which
are not present in normal text, but obviously can appear in arbitrary binary data.

2.
check connection hardware:
use a terminal emulator such as HyperTerminal to check whether anything comes in. Try a
couple of baud rates. If data is not text and/or baud rate is wrong, you probably will
get strange characters; they would prove connection is present.

3.
check transmission first: sending is much less critical than receiving, so try, if you can,
if things you send actually arrive (maybe there is a command available to toggle a LED
or so).

4.
hardware handshake
if you don't get anything, maybe the sender needs some control lines set before it feels
a need to send something; look for the RTS signal ("Request To Send"), or send a software
dataflow character (try sending a CTRL/Q).

5.
port settings
if you do get something, but it does not look right, try different port settings (baud
rate, parity, ...). Choosing "no parity" gives best chances.

6.
if HyperTerminal works, but your app does not, it still may be a port setting/handshake
problem, or a conceptual mistake in your code. Try the others first and let us know.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


AnswerRe: Hello Pin
Paul Conrad30-Oct-07 6:21
professionalPaul Conrad30-Oct-07 6:21 
QuestionFlickering effect Pin
AB777130-Oct-07 3:49
AB777130-Oct-07 3:49 
AnswerRe: Flickering effect Pin
il_masacratore30-Oct-07 3:57
il_masacratore30-Oct-07 3:57 
GeneralRe: Flickering effect Pin
Christian Wikander30-Oct-07 4:21
Christian Wikander30-Oct-07 4:21 
QuestionGet the list of Controls in the windows application Pin
Huzefa_Incredible30-Oct-07 3:42
Huzefa_Incredible30-Oct-07 3:42 
AnswerRe: Get the list of Controls in the windows application Pin
il_masacratore30-Oct-07 3:55
il_masacratore30-Oct-07 3:55 
GeneralRe: Get the list of Controls in the windows application Pin
pmarfleet30-Oct-07 4:05
pmarfleet30-Oct-07 4:05 
GeneralRe: Get the list of Controls in the windows application Pin
Huzefa_Incredible30-Oct-07 4:10
Huzefa_Incredible30-Oct-07 4:10 
GeneralRe: Get the list of Controls in the windows application Pin
Christian Wikander30-Oct-07 4:30
Christian Wikander30-Oct-07 4:30 
GeneralRe: Get the list of Controls in the windows application Pin
Huzefa_Incredible30-Oct-07 4:42
Huzefa_Incredible30-Oct-07 4:42 
GeneralRe: Get the list of Controls in the windows application Pin
Christian Wikander30-Oct-07 4:47
Christian Wikander30-Oct-07 4:47 
Questionprofile object manage in asp.net Pin
ganesh197530-Oct-07 2:44
ganesh197530-Oct-07 2:44 
QuestionDisplaying "String" in a DatagridView Column with "int" DataType Pin
Assaf8230-Oct-07 2:41
Assaf8230-Oct-07 2:41 
AnswerRe: Displaying "String" in a DatagridView Column with "int" DataType Pin
pmarfleet30-Oct-07 2:56
pmarfleet30-Oct-07 2:56 
GeneralRe: Displaying "String" in a DatagridView Column with "int" DataType Pin
Assaf8230-Oct-07 3:52
Assaf8230-Oct-07 3:52 
GeneralRe: Displaying "String" in a DatagridView Column with "int" DataType Pin
pmarfleet30-Oct-07 4:02
pmarfleet30-Oct-07 4:02 
GeneralRe: Displaying "String" in a DatagridView Column with "int" DataType Pin
Assaf8230-Oct-07 4:26
Assaf8230-Oct-07 4:26 

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.