View unanswered posts | View active topics It is currently Tue Jan 22, 2019 5:11 pm

Reply to topic  [ 3 posts ] 
Store multiple executables on NXT 
Author Message
User avatar

Joined: Sun Jun 17, 2012 11:18 am
Posts: 26
Post Store multiple executables on NXT
Dear All,

Can I download several executable programs to NXT at one time so that I can start any one I need without re-compile and download it again? The current action seems to be newly-downloaded program always overwriting old one.

Tue Oct 02, 2012 10:47 am
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: Store multiple executables on NXT
Your programs have different names, right? The NXT can store as many programs as you want until it runs out of memory. There is a file name limit of 20-characters, I think, so if multiple programs are the same for the first 20 (or however many it is) characters, then the last one downloaded will be the only one on it.

A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.

Tue Oct 02, 2012 11:08 am
Profile WWW
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: Store multiple executables on NXT
NeXT-Generation is correct. If you compile and download a program to the NXT and there is already a program on the NXT with the same name, the old one will be overwritten by the new one. To avoid this, all you have to do is save your modified program with a slightly different name (test1.c and test2.c, for example) before compiling and downloading.

This is done by navigating to the File -> Save As menu option and changing the file name before saving it. Then, once the program is compiled and downloaded to the NXT you can check to see which programs are on the brick one of two ways; either by navigating to the 'My Files -> Software Files' submenu on the brick itself or by opening the 'Robot -> NXT Brick -> File Management Utility' in ROBOTC.

The advantage of using the File Management Utility is that it will show you all the files on the NXT (including user programs) and allow you to manually upload, download, rename, and delete files on the NXT. If you wish to download program files, however, they will need to be compiled and downloaded through ROBOTC (you can't download program files directly to the NXT using the File Management Utility because it does not compile the programs beforehand).

Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.

Wed Oct 03, 2012 11:20 am
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 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.