|
Page 1 of 1
|
[ 3 posts ] |
|
Store multiple executables on NXT
Author |
Message |
fxlj007
Rookie
Joined: Sun Jun 17, 2012 11:18 am Posts: 26
|
 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 |
|
 |
NeXT-Generation
Senior Roboticist
Joined: Wed Sep 28, 2011 10:13 pm Posts: 630 Location: If I told you, I'd have to kill you.
|
 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 |
|
 |
JohnWatson
Site Admin
Joined: Thu May 24, 2012 12:15 pm Posts: 722
|
 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 |
|
|
|
Page 1 of 1
|
[ 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
|
|