Welcome! Log In Create A New Profile

Advanced

Stepper exerciser dialog doesn't appear

Posted by Anonymous User 
Anonymous User
Stepper exerciser dialog doesn't appear
June 24, 2007 06:20PM
I can't get the stepper exerciser dialog to show up on the screen. When I select it from the menu, nothing happens in the GUI, at least the first time I try. On the console I see:

[java] Opening port /dev/ttyS0
[java] Stable Library
[java] =========================================
[java] Native lib Version = RXTX-2.1-7
[java] Java lib Version = RXTX-2.1-7
[java] Device at address 8 not present
[java] Device at address 3 not present
[java] Device at address 4 not present

My hardware is just the UCB and an X-axis stepper card. I guess it sees my board because it doesn't complain about address 2. It doesn't freeze, it just doesn't show the dialog. If I keep trying, it'll eventaully hang for a minute or so, then throw a can't-open-port type exception.

As best I can tell, my hardware is working:

$ echo 0 | ./poke -d 2 -t /dev/ttyS0 -v
<54><51><31><02><00><00>[54][52][30][00][02][bd][ACK Received]

The software is a clean install using the setup script on Linux, the only thing I changed was nullcartesian -> cartesian
So far I've tried with both java 1.6 and 1.5 and I get the same results. I do get this message when I start the host software, but I doubt it's relevant since the 3D views look good:

[java] JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality

Any ideas? I'll be trying Java 1.4 this evening unless you've got any more intelligent suggestions.
Anonymous User
Re: Stepper exerciser dialog doesn't appear
June 24, 2007 10:20PM
Problem solved.

Index: gui/steppertest/Main.java
===================================================================
--- gui/steppertest/Main.java (revision 670)
+++ gui/steppertest/Main.java (working copy)
@@ -51,6 +51,7 @@

try {
Main inst = new Main(frame);
+ inst.setVisible(true);
}
catch (Exception e){


Eric on IRC pointed me to the solution to my OpenGL problem, so I'm well on my way. Now time to make some lights blink.
Re: Stepper exerciser dialog doesn't appear
June 25, 2007 12:42AM
This was such a small change, I've made the edit and committed it to Subversion as revision 671. Thanks for finding this and coming up with the patch!

Jonathan
Sorry, only registered users may post in this forum.

Click here to login