NXT-G "Unlimited" Move block does not work.

Q: I have an "Unlimited" move block in my NXT-G program.  The motor(s) run for a few seconds, then stop.  WHY?

This question comes up all the time.  It's not a bug in the software, hardware, or anything else.  In fact, the software is doing exactly what it should.

It's very common for someone to write a program like this:

...or this:


...and, expect the motors to run forever.

However, the software has a nice feature where it will stop the motors when the program ends .  And, very shortly after executing either of the above sequences, THE PROGRAM ENDS, at which point the motors are automatically stopped.


Add something to the end of the program, so it will not stop...