FIRST Forums  

Go Back   FIRST Forums > Administrative > New Topics

Reply
 
Thread Tools
  #1  
Old 11-04-2009, 11:26 AM
hcgl hcgl is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Default How do i get a program on the NXT to a computer?

I accidently closed a program without saving, i downloaded it onto the NXT first though. How do i get it back on the computer so i can edit/add more stuff to the program.
Reply With Quote
  #2  
Old 11-04-2009, 11:37 AM
GotRobot? GotRobot? is offline
Senior Member
 
Join Date: Sep 2008
Location: Elgin, Illinois
Posts: 119
Default Re: How do i get a program on the NXT to a computer?

Ouch. I've done that too. Unfortunately, you can't retrieve an NXT-G program once it's been compiled and downloaded to the brick controller.
__________________
Cheers!

got robot? -- FLL Team 247
2008-2009 A Great Rookie Year!
Reply With Quote
  #3  
Old 11-04-2009, 12:22 PM
hcgl hcgl is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Default Re: How do i get a program on the NXT to a computer?

Argh! Well, how do i auto-start a new program after a program is finished then ?
Reply With Quote
  #4  
Old 11-04-2009, 12:59 PM
Dean Hystad Dean Hystad is offline
Senior Member
 
Join Date: Sep 2008
Location: Minnesota
Posts: 420
Default Re: How do i get a program on the NXT to a computer?

Quote:
Originally Posted by hcgl View Post
Argh! Well, how do i auto-start a new program after a program is finished then ?
You can't. But you can make MyBlocks out of all your mission programs and call them from within a master program. A fancy master program can even support skipping and re-running missions.
Reply With Quote
  #5  
Old 11-04-2009, 02:01 PM
hcgl hcgl is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Default Re: How do i get a program on the NXT to a computer?

How ? Is there an tutorial for this or something
Reply With Quote
  #6  
Old 11-04-2009, 02:52 PM
Dean Hystad Dean Hystad is offline
Senior Member
 
Join Date: Sep 2008
Location: Minnesota
Posts: 420
Default Re: How do i get a program on the NXT to a computer?

No tutorial for a master scheduler program. The NXT kit has plenty of documentation on how to make MyBlocks.

The very simplest master program is one that has a MyBlock for each mission with a wait for button press between each one. Start the program and it runs the first mission. When the mission is done it waits until you press a button and then the second mission runs, and so on.

Though that is very easy to program it is not very friendly. What if you want to re-run a mission? What if you need to stop the program? There is no easy way to recover. So teams write more complicated programs that might display a list of missions that they can select from using the arrow buttons. When they press the orange button it runs the MyBlock associated with the selected mission. A lot of teams will auto-increment the mission selection so all they have to do is press the orange button.

This kind of programming is much more sophisticated and difficult than the string of MOVE commands many teams pass off as programs. But with the difficulty comes great reward. You save a ton of time selecting missions. You have some real programming to show to the technical judges, and you learn a lot more than you do just writing missions.
Reply With Quote
  #7  
Old 11-04-2009, 02:59 PM
hcgl hcgl is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Default Re: How do i get a program on the NXT to a computer?

The thing is, how do i make a myblock out of something on the NXT ?
Reply With Quote
  #8  
Old 11-04-2009, 04:00 PM
CGMSC1 CGMSC1 is offline
Senior Member
 
Join Date: Oct 2008
Location: Greenwood, Indiana USA
Posts: 381
Default Re: How do i get a program on the NXT to a computer?

Quote:
Originally Posted by hcgl View Post
The thing is, how do i make a myblock out of something on the NXT ?
You can't.

The program on the NXT is a lost cause. You can't add to it, link it to another program, back load it to a PC ...

Bite the bullet and re-write the program.

You've just learned the first lesson of programming. Save your work often.
__________________
Jim Sluka
Coach 2001 - 2009
Center Grove Middle School Central
Greenwood, Indiana USA
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3rd Party Program jeremy.moritz Robot Programming 8 11-04-2009 04:57 PM
Teaching Students How to Program liwalson Curriculum & Afterschool Activities 9 11-03-2009 10:39 PM
Resuming program while not in base Boardergrl Rules & Missions 4 11-03-2009 01:38 PM
Connections to My Blocks?? Coach Tron Robot Programming 11 10-28-2009 05:03 PM


All times are GMT -4. The time now is 04:10 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.