COM port emulator

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2006
Posts: 1,169
Reputation: Duki has a spectacular aura about Duki has a spectacular aura about Duki has a spectacular aura about 
Solved Threads: 9
Duki's Avatar
Duki Duki is offline Offline
Veteran Poster

COM port emulator

 
0
  #1
Aug 24th, 2008
Hey everyone,

I'm trying to write code that will be sent out of the COM port to a PIC microcontroller. However, I don't have the controller available yet. Is there an emulation software that will allow me to virtualize a COM port and capture the data that's being sent to it? Maybe that will help me to make sure I have the code functioning properly.

I've tried one program but I must have been doing something wrong, because when I try to transfer data to it, it says Access Denied in the debugger. However, when I try to send data to the actual COM port on my computer without the emulator running, everything looks to be running fine. But I can't be positive about that until I can actually capture the data leaving my COM port.

Thanks for any help!
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.

-Edsger Dijkstra
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 327
Reputation: Colin Mac is on a distinguished road 
Solved Threads: 22
Colin Mac Colin Mac is offline Offline
Posting Whiz

Re: COM port emulator

 
0
  #2
Aug 24th, 2008
A loopback test would verify that.
http://zone.ni.com/devzone/cda/tut/p/id/3450
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 1,169
Reputation: Duki has a spectacular aura about Duki has a spectacular aura about Duki has a spectacular aura about 
Solved Threads: 9
Duki's Avatar
Duki Duki is offline Offline
Veteran Poster

Re: COM port emulator

 
0
  #3
Aug 25th, 2008
Thanks!
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.

-Edsger Dijkstra
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 1,169
Reputation: Duki has a spectacular aura about Duki has a spectacular aura about Duki has a spectacular aura about 
Solved Threads: 9
Duki's Avatar
Duki Duki is offline Offline
Veteran Poster

Re: COM port emulator

 
0
  #4
Aug 25th, 2008
If anyone else has an emulator solution, please post as well. The loopback will work for my home PC, but I often code from school machines and would like to have a software solution available.

Thanks!
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.

-Edsger Dijkstra
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 275
Reputation: dougy83 is on a distinguished road 
Solved Threads: 45
dougy83 dougy83 is offline Offline
Posting Whiz in Training

Re: COM port emulator

 
0
  #5
Aug 26th, 2008
I've used com0com - a serial port/null-modem emulator. See http://sourceforge.net/projects/com0com/
or just google com0com.

Each null modem emulation creates 2 virtual serial ports - i.e. each end of a serial cable; you'll need a program on the other port to loopback/modify data as required. You may need admin access to install it.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC