View unanswered posts | View active topics It is currently Thu Jun 20, 2013 7:46 am






Reply to topic  [ 3 posts ] 
program shuts down suddenly / no shut down delay possible 
Author Message
Senior Roboticist
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 936
Location: a small planet in the vicinity of Beteigeuze
Post program shuts down suddenly / no shut down delay possible
often during the runtime, the nxt switches off without any explainable reason.
this happens both when running online (USB), and offline (stand alone).

At online operation, the debugger doesn't even show any hint why this happens.

the setting in the preferences is: shut down: never!

If I set the (program-specific) shut down delay time in my program by
Code:
nPowerDownDelayMinutes=1440; // shut down after 24 hours

I get an error:

**Error**:Variable 'nPowerDownDelayMinutes' is subsequently used as a procedure

what was wrong?

(I may have postet these questions before, don't know, but in that case, I can't find this, anyway. Sorry if it has been postst twice)

_________________
Ford Prefect

Never purchase release 1.x ! (ancient programmer's wisdom)
"Don't argue with idiots. They'll drag you down to their level and then beat you with experience."


Sat Aug 16, 2008 1:07 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Jan 31, 2007 3:39 am
Posts: 298
Location: San Diego, California. USA
Post Re: program shuts down suddenly / no shut down delay possible
I have notices this also, the NXT does shut down after awhile even though its on never. Make sure this is in the bug tracker B-)

Scott

_________________
Mmmm Legos B-)

My Robot Projects:
http://www.freewebs.com/robotprojects/


Sun Aug 17, 2008 2:32 pm
Profile WWW
Senior Roboticist
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 936
Location: a small planet in the vicinity of Beteigeuze
Post Re: program shuts down suddenly / no shut down delay possible
thx for your report!
Yes, I reported this.
But what is this about with the
Code:
nPowerDownDelayMinutes

how does this work right?

_________________
Ford Prefect

Never purchase release 1.x ! (ancient programmer's wisdom)
"Don't argue with idiots. They'll drag you down to their level and then beat you with experience."


Sun Aug 17, 2008 3:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.