Click here to Skip to main content
15,915,336 members
Home / Discussions / C#
   

C#

 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 6:53
professionalMichael Fritzius30-Jul-07 6:53 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 7:03
sitebuilderLuc Pattyn30-Jul-07 7:03 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 7:09
professionalMichael Fritzius30-Jul-07 7:09 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 7:34
sitebuilderLuc Pattyn30-Jul-07 7:34 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 7:38
sitebuilderLuc Pattyn30-Jul-07 7:38 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 7:49
professionalMichael Fritzius30-Jul-07 7:49 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 7:56
sitebuilderLuc Pattyn30-Jul-07 7:56 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 8:28
professionalMichael Fritzius30-Jul-07 8:28 
The code I put up before is almost the whole thing, short of a few housekeeping snippets like clearing the textbox when the user clicks on it. I think this message you sent was sent before you saw the code though.

When both ports are examined by HT (not using my program at all), the ports can talk to each other just fine, both ways. So the hardware is solid.

When my program is running and sending data out one port, with HT receiving on the other, HT can receive all data, regardless of if it's looking at the RS232 or the USB.

The problem shows up when I try to use only my program. Data can come in the USB port, but data sent out the USB port either gets garbled, or is misunderstood by the converter or something else.

(also I tried reversing the cable, and it still works in the same way listed above, so it is in fact a null modem cable, like what I need Poke tongue | ;-P )

I know this seems really weird, and it seems like it SHOULD work... but for whatever reason, a transfer from USB to RS232 just ain't happening in my program.

I just thought of something... do you think that including the driver DLL that came with the converter as a reference would help? I mean it's obvious that HT has the ability to get and understand whatever is coming in the USB port. Could it be that HT is making use of something that I have to tell my program to make use of the same DLL or something?
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 8:37
sitebuilderLuc Pattyn30-Jul-07 8:37 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 8:39
professionalMichael Fritzius30-Jul-07 8:39 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 9:03
sitebuilderLuc Pattyn30-Jul-07 9:03 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 9:18
professionalMichael Fritzius30-Jul-07 9:18 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 8:02
sitebuilderLuc Pattyn30-Jul-07 8:02 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 8:37
professionalMichael Fritzius30-Jul-07 8:37 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 8:40
sitebuilderLuc Pattyn30-Jul-07 8:40 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 9:06
professionalMichael Fritzius30-Jul-07 9:06 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn30-Jul-07 9:17
sitebuilderLuc Pattyn30-Jul-07 9:17 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius30-Jul-07 9:22
professionalMichael Fritzius30-Jul-07 9:22 
QuestionRuntime error with MS Word Pin
André Stroebel26-Jul-07 3:41
André Stroebel26-Jul-07 3:41 
AnswerRe: Runtime error with MS Word Pin
kubben26-Jul-07 4:22
kubben26-Jul-07 4:22 
GeneralRe: Runtime error with MS Word [modified] Pin
André Stroebel26-Jul-07 4:33
André Stroebel26-Jul-07 4:33 
GeneralRe: Runtime error with MS Word Pin
kubben26-Jul-07 5:24
kubben26-Jul-07 5:24 
QuestionHigh resolution timer? Pin
Kel_26-Jul-07 3:31
Kel_26-Jul-07 3:31 
AnswerRe: High resolution timer? Pin
Pete O'Hanlon26-Jul-07 4:00
mvePete O'Hanlon26-Jul-07 4:00 
GeneralRe: High resolution timer? Pin
Kel_26-Jul-07 4:38
Kel_26-Jul-07 4:38 

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.