Results 1 to 1 of 1
Thread: rs232 serial port on xp
- 12-04-2008, 11:25 AM #1
Member
- Join Date
- Dec 2008
- Posts
- 50
- Rep Power
- 0
rs232 serial port on xp
hi i am trying to receive some data from a rs232 serial port on a xp machine
...
i tried the javax.comm but on further reading my understanding is that this is no longer supported/working
so i got the rxtx jar, added it to the buildpath of the project and removed the references to the java.comm stuff....
now when i go to use it i can call
Java Code:import java.gnu.io;
but i can't import the specific stuff that i need ie
Java Code:import gnu.io.CommPortIdentifier; import gnu.io.NoSuchPortException; import gnu.io.ParallelPort;
Java Code:try { //get the parallel port connected to the printer port = CommPortIdentifier.getPortIdentifier("COM1");
would appreciate any help
thanks
Similar Threads
-
Reading from Serial port!
By Dogge in forum New To JavaReplies: 2Last Post: 12-01-2010, 03:21 AM -
Serial Port
By radhika in forum New To JavaReplies: 5Last Post: 11-06-2009, 10:40 AM -
Accessing Serial port using JDK 1.6
By hasani6leap in forum Advanced JavaReplies: 5Last Post: 01-24-2009, 03:23 AM -
Access Serial port
By hasani6leap in forum Advanced JavaReplies: 0Last Post: 02-12-2008, 09:45 AM -
serial port
By musiigedeo in forum Advanced JavaReplies: 0Last Post: 07-23-2007, 04:52 PM
Bookmarks