Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Data_Received event not firing using serialport connection in .Net

$
0
0
I have connected my pc to a null modem cable. When i look in device manager, i get two port names as USB-to-Serial(COM17) and COM28. But, when i try to send and receive data through ports, i am unable to do. Tried looking into various forums on this issue but not able to get the solution. I did use a query

"SELECT * FROM WIN32_SerialPort"
to get the list of all ports available on my pc, but it displayed only COM3 and COM4 nothing as COM17 and COM28. In one of the article, they said these are virtual ports and so doesn't get displayed.

Can anyone please help me send and receive data through a null modem cable using serial ports.

I have almost tried all examples given in all forums. Also, i have tried in hyperterminal to check if my comports work. It doesn't give any response. Someone, please help me to findout what is wrong?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>