Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2008, 05:16 PM
Member
 
Join Date: Feb 2008
Posts: 1
Rep Power: 0
Dogge is on a distinguished road
Default Reading from Serial port!
Hello.

Im trying to make a basic program that reads from the COM1 serial port. Ive tried getting the javax.comm API but it seems Sun has disscontiued it for Windows.
Tried gettign the rxtx API aswell but all their downloads from their site are corrupted.

I also got hold of an older version of the Comm API (2.0 i belive) but i couldnt get it to run.
I´ve tried looking everywhere but i couldnt find anything to help me.

The program i want is something really basic which is gonna read bacicly if the serial port has a 1 on it (its connected to a PIC processor) and then count +1 to a number. I want to use java since im building a Graphics interface to go along with it.

Anyone have a simple tutorial or something that could help me out, im running on a Win XP machine.

Or is there maybe someway to get the data from the hyperterminal instead of directly from the serialport?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Port radhika New To Java 5 11-06-2009 11:40 AM
Accessing Serial port using JDK 1.6 hasani6leap Advanced Java 5 01-24-2009 04:23 AM
Access Serial port hasani6leap Advanced Java 0 02-12-2008 10:45 AM
Writing to serial port (com1) Java Tip Java Tips 0 02-05-2008 10:02 AM
serial port musiigedeo Advanced Java 0 07-23-2007 05:52 PM


All times are GMT +2. The time now is 08:43 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org