| | |
COM port emulator
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
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!
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
-Edsger Dijkstra
•
•
Join Date: Sep 2006
Posts: 327
Reputation:
Solved Threads: 22
A loopback test would verify that.
http://zone.ni.com/devzone/cda/tut/p/id/3450
http://zone.ni.com/devzone/cda/tut/p/id/3450
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!
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
-Edsger Dijkstra
•
•
Join Date: Jun 2007
Posts: 275
Reputation:
Solved Threads: 45
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.
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.
![]() |
Similar Threads
- Real COM port vs. USB-to-Serial cable (C)
- How do I write code for PAC MAN! (C++)
- Serial communication using DEV CPP IDE 4.9.9.2 (C)
- General Tips for Mac OS X (Mac tips 'n' tweaks)
- Your opinion of Assembly: (Assembly)
- Problem with Smart Device/Pocket PC connect with Serial Port (C#)
- Backdoor Hijack Virus (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: Connection Pool -- Locking, Concurrent Access
- Next Thread: Shared Memory Object Access
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings struct temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






