NXT run program on launch
-
- Posts: 5
- Joined: 13 Oct 2011, 15:42
NXT run program on launch
hello,
I have a question as the title says I wan't to let my NXT run a program on startup so when I turn the NXT on it runs a program right away.
Is this possible and how?
I have a question as the title says I wan't to let my NXT run a program on startup so when I turn the NXT on it runs a program right away.
Is this possible and how?
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: NXT run program on launch
Name the program "! Startup" (minus the quotes).
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 5
- Joined: 13 Oct 2011, 15:42
Re: NXT run program on launch
that doesn't work I made my programm in Lego Mindstorms programming (the program that comes with the nxt)
-
- Posts: 141
- Joined: 01 Oct 2010, 14:38
- Location: Pennsylvania - The United States of America
- Contact:
Re: NXT run program on launch
Or more accurately:mattallen37 wrote:Name the program "! Startup" (minus the quotes).
Code: Select all
!Startup
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: NXT run program on launch
No, I'm totally sure it has a space (just tested it). It was an NXC program, with the latest enhanced FW (shouldn't matter).
Edit: I just tried without the space, and it didn't work.
Edit: I just tried without the space, and it didn't work.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 5
- Joined: 13 Oct 2011, 15:42
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: NXT run program on launch
It looks like you got it right, but you need to use a capital "S" (not "s").
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 32
- Joined: 08 Mar 2011, 17:23
- Location: /dev/null
- Contact:
Re: NXT run program on launch
What firmware does your NXT have? I think this only works with the NBC/NXC enhanced firmware.
To God be the glory, great things He has done;
So loved He the world that He gave us His Son,
Who yielded His life an atonement for sin,
And opened the life gate that all may go in.
So loved He the world that He gave us His Son,
Who yielded His life an atonement for sin,
And opened the life gate that all may go in.
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: NXT run program on launch
I don't think so, at least I can't see why it would matter. No matter what lego FW you are using, it should play ! Startup as soon as you turn it on (normally a sound file).
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 32
- Joined: 08 Mar 2011, 17:23
- Location: /dev/null
- Contact:
Re: NXT run program on launch
Oohhhh, I just realized something: Everyone said "! Startup", but like you just pointed out, that's a sound file. (Actually "! Startup.rso".) And yeah, that is supported in the stock firmware.mattallen37 wrote:I don't think so, at least I can't see why it would matter. No matter what lego FW you are using, it should play ! Startup as soon as you turn it on (normally a sound file).
However, shaddowwatch is trying to run a program on startup. That, I'm pretty sure, is supported only in the EFW, and the program must be named "! Autorun" (.rxe).
I should have realized that sooner...
To God be the glory, great things He has done;
So loved He the world that He gave us His Son,
Who yielded His life an atonement for sin,
And opened the life gate that all may go in.
So loved He the world that He gave us His Son,
Who yielded His life an atonement for sin,
And opened the life gate that all may go in.
Who is online
Users browsing this forum: No registered users and 1 guest