This s a newbie question.
When receiving serial data from a microcontroller by a PC program I need the microcontroller to be nearby and it needs to be connected to a USB port and send the data via this USB port to the PC program.
But I want to send and test a PC program by a virtual port program which sends data to a specified port without a microcontroller is around. So one can test the received data by a PC program without an actual device sending data to the PC.
How is it done? Is there such emulator program electrical engineers use?
I know how to use hyperTerminal but it is used for sending or receiving data from a real device like a microcontroller.