PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: titan2020 on September 12, 2016, 04:40:52 pm

Title: simulate com port comunications for debugging
Post by: titan2020 on September 12, 2016, 04:40:52 pm
Hello,

I'm writing a program in VB 2015 that communicates with an external device through the com port using the SerialDataReceivedEventArgs. Is there a way to trigger this event in visual studio for so that I can debug without the external device connected to the PC?

thank you,
Steve
Title: Re: simulate com port comunications for debugging
Post by: Jan Axelson on September 12, 2016, 08:20:08 pm
Here is one discussion that might be helpful:

http://stackoverflow.com/questions/7582087/how-to-mock-serialdatareceivedeventargs