File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Serial port communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Serial port communication " Watch "Serial port communication " New topic
Author

Serial port communication

Pradeep Kumar T
Greenhorn

Joined: Apr 14, 2007
Posts: 12
Hi all,

I have an int array in my program, which i need to send through serial port.. right now, i am sending the data element by element, while listening for the DATA_AVAILABLE event. I send the first element, wait for the DATA_AVAILABLE event and then send the next element. Is this the way it is supposed to be done? Is there a better(faster) way to do this..?

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serial port communication