-
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
Code:
import java.gnu.io;
but i can't import the specific stuff that i need ie
Code:
import gnu.io.CommPortIdentifier;
import gnu.io.NoSuchPortException;
import gnu.io.ParallelPort;
from which id like to do stuff like
Code:
try
{
//get the parallel port connected to the printer
port = CommPortIdentifier.getPortIdentifier("COM1");
would appreciate any help
thanks