How to send data to COM PORT using JAVA?

This question has been asked and answered many times: Read file from serial port using Java Reading serial port in Java Reading file from serial port in Java Is there Java library or framework for accessing Serial ports? Java Serial Communication on Windows to reference a few. Personally I recommend SerialPort from http://serialio.com – it’s … Read more

Serial Port (RS -232) Connection in C++

Please take a look here: RS-232 for Linux and Windows 1) Windows Serial Port Programming 2) Using the Serial Ports in Visual C++ 3) Serial Communication in Windows 1) You can use this with Windows (incl. MinGW) as well as Linux. Alternative you can only use the code as an example. 2) Step-by-step tutorial how … Read more

Reading from RS 232 port using python

I got the solution. I used a Virtual serial port simulator to create virtual 2 ports and I paired those ports. Then I used pyserial python library for reading from and writing to the ports. Sample code for reading from port