Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2008, 05:16 PM
Member
 
Join Date: Feb 2008
Posts: 1
Dogge is on a distinguished road
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
Sponsored Links
Reply


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

vB 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
Accessing Serial port using JDK 1.6 hasani6leap Advanced Java 0 02-15-2008 07:30 PM
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 radhika New To Java 4 11-16-2007 11:50 AM
serial port musiigedeo Advanced Java 0 07-23-2007 05:52 PM


All times are GMT +3. The time now is 11:41 PM.


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