To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 14964
14963  |  14965
Subject: 
program wont stop running
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx.nqc
Date: 
Fri, 6 Apr 2001 23:31:57 GMT
Reply-To: 
canajef@charlie.acc.iit.edu!AntiSpam!
Viewed: 
1391 times
  
O.k.,

I've never had this happen before, and don't know why it's doing it
now.  A program as simple as:

task main()
{
  SetPower(OUT_A,7);
  OnFwd(OUT_A);
}

won't stop running after i hit the "Run" button on the rcx (1.5).
Also, the little person in the display window doesn't move.  The
program runs fine (motor goes on), i just cant stop it.

Like I said, this has never happend to me before.  And i tried the
simplest of programs to make sure it wasnt something in the code
itself.  Any suggestions would be most appreciated.

thanks in advance,
jeff



Message has 4 Replies:
  Re: program wont stop running
 
(...) Sounds to me the program has indeed stopped. It's just the motor that's still on. --k (23 years ago, 7-Apr-01, to lugnet.robotics)
  Re: program wont stop running
 
(...) Well, I think this is doing exactly what I'd expect...here is the sequence of events: * You press the RUN button. * The little man starts running. * About a thousandth of a second later, it sets the power level to 7 * About a thousandth of a (...) (23 years ago, 7-Apr-01, to lugnet.robotics)
  Re: program wont stop running
 
(...) The program has stopped running. It stops as soon as it starts... You just need to STOP the motor when your done. Otherwise it just stays on... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (23 years ago, 7-Apr-01, to lugnet.robotics, lugnet.robotics.rcx.nqc)
  Re: program wont stop running
 
(...) If the person stops running, then that means the program has stopped. The "Run" button stops a program and turns off the motors. However, when a program finished normally (with nothing more to do), the motors are left in whatever state the (...) (23 years ago, 8-Apr-01, to lugnet.robotics, lugnet.robotics.rcx.nqc)

5 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR