How can I force stop a running program?

This is where you talk about the EV3 hardware related topics such as the brick, sensors, LEGO pieces, etc.

Moderators: roger, gloomyandy, skoehler

How can I force stop a running program?

Postby Programus » Tue Mar 25, 2014 2:08 pm

I just installed leJOS for EV3 0.8.0-alpha and tried a sample program.
After I started the program, I noticed that I still did not connect any sensor or motor. I want to stop the program but I don't know how.

Is there a way to force stop a running program in leJOS except taking out the batteries?
This would be useful especially there was a infinite loop bug in the program.

I remember in leJOS for NXT, there is such a key combination... (ENTER + ESCAPE? something like that...)
User avatar
Programus
Novice
 
Posts: 34
Joined: Fri Sep 18, 2009 1:43 pm
Location: China

Re: How can I force stop a running program?

Postby lawrie » Tue Mar 25, 2014 2:19 pm

You can press ENTER+DOWN.

You can also run EV3Control on the PC and stop programs with that.
lawrie
leJOS Team Member
 
Posts: 919
Joined: Mon Feb 05, 2007 1:27 pm

Re: How can I force stop a running program?

Postby Programus » Wed Mar 26, 2014 2:56 pm

lawrie wrote:You can press ENTER+DOWN.

You can also run EV3Control on the PC and stop programs with that.


ENTER+DOWN works great! :lol:

I will try EV3Control once I get the EV3 connected to the PC. I must find the USB cable first since I have no wifi adapter and lost the cable. :cry:
Thank you!
User avatar
Programus
Novice
 
Posts: 34
Joined: Fri Sep 18, 2009 1:43 pm
Location: China


Return to EV3 Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

more stuff