Re: [Lejos-discussion] Out with the old problems, in with the new! :-) (Tower error: write failure)

2006-04-27 Thread Matthias Paul Scholz
Tripurari, I've tried running the outstream example with leJOS 3.0 on Linux, and it worked for me. These were the steps I performed: 1. switch to examples/comms/outstream 2. lejosjc Write.java 3. lejoslink -o Write.bin Write 4. lejosdl Write.bin 5. export

Re: [Lejos-discussion] Out with the old problems, in with the new! :-) (Tower error: write failure)

2006-04-27 Thread Matthias Paul Scholz
Tripurari, seems you have detected a bug indeed...sigh! Both RCXPort constructors turn out to boil down to opening the tower in the handlers without the tty variable set internally (as a matter of fact, in the according source code I detected // TODO rework this comments...GREAT! So much for

[Lejos-discussion] Out with the old problems, in with the new! :-) (Tower error: write failure)

2006-04-26 Thread Tripurari Volpe
Well, I finally got the sample outstream stuff to compile and run (sorta)... but now I have a new problem.I compile and run the sample program samples/comms/outstream/Read.java, and run it on my PC. It works, up to a point. Specifically, when it tries to create a new RCXPort, it runs into a

Re: [Lejos-discussion] Out with the old problems, in with the new! :-) (Tower error: write failure)

2006-04-26 Thread Saptarshi Purkayastha
Dear Tripurari,If u r using windows then there needs to be a small change in the RemoteControlMessenger.java file. Somewhere in line 146 or somewhere close to that find the code: fTower = new Tower(/dev/usb/legousbtower0); Change the above line to:fTower = new Tower(usb);Compile this Java file and