943,582 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1368
  • C RSS
May 30th, 2009
0

serial port programming loopback mode

Expand Post »
i have written a program to transfer character from one comp to another using serial port .in order to test the program i want to use loopback control as i have only one computer. i have read how to connect rs232 in loopback mode but my problem is that if we have to connect pin 2 and 3 or 4 and 1 as in loopback mode ....how to connect it (rather short it).do i have to short the male DB9 with wires or is there anyother method.
pls do help fast.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alok1255 is offline Offline
3 posts
since May 2009
May 30th, 2009
0

Re: serial port programming loopback mode

Attach a female DB9 connector onto your male to female RS-232 cable.
Get the solder type, not PCB type. Then solder wires to it and tie pin 2 and pin 3 together.
Reputation Points: 78
Solved Threads: 22
Posting Whiz
Colin Mac is offline Offline
327 posts
since Sep 2006
May 30th, 2009
0

Re: serial port programming loopback mode

thanks for the quick reply
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alok1255 is offline Offline
3 posts
since May 2009
May 30th, 2009
0

Re: serial port programming loopback mode

my comp has DB9 male connector ....so i can just solder its lead rather than buying a female connector...will it work?
pls reply...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alok1255 is offline Offline
3 posts
since May 2009
May 30th, 2009
0

Re: serial port programming loopback mode

Click to Expand / Collapse  Quote originally posted by alok1255 ...
my comp has DB9 male connector ....so i can just solder its lead rather than buying a female connector...will it work?
pls reply...
As long pins 2 and 3 are tied together, it will work.
Reputation Points: 78
Solved Threads: 22
Posting Whiz
Colin Mac is offline Offline
327 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Problem using ReadFile() in overlapped I/O
Next Thread in C Forum Timeline: strlen of strdup





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC