This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to write into the parallel port using rxtx jars. The opening of the port is fine but when it comes to writing it somehow detects that there is no device connected. I am trying to use a mutlimeter to detect the data bits[using pins 2 ,3 ,..] [high and low]. So can somebody tell me how i can run the program without getting this exception.
M. Sunil wrote: it somehow detects that there is no device connected.
Let me get this straight: you are attempting to write data to a port without a device? That should fail.
If you want to test what would happen if you actually attached something, you would need a parallel port loopback device.
Yes. I am trying to write into a port to which no device is connected. Is there any way to make the driver believe that there is a device connected. Say by pushing some pins to high. I have a dll and a program in c# to write to the port and it works. i have tested it with a multi meter.