09-28-2013 08:42 PM
I am a new labview user for FTC. Trying to compile and download program chooser to nxt. When I open the code there are some question marks in the code and it says sub.vi is deleted or missing. I can't download the program chooser to nxt. It keeps showing some errors. I did not change anything in the program. It is the default program in the tool kit. What am I doing wrong?
09-29-2013 01:30 PM
Hello,
Where on disc are you opening the Program Chooser from? I located the Program Chooser at this location, and all of the sub VIs were next to it on file.
C:\<Program Files>\National Instruments\LabVIEW 2012\examples\FTC Toolkit\Program Chooser 2.0\Program Chooser.vi
Do you have screenshots of the block diagram with the question marks and the error window to see which specific subVIs are missing?
09-30-2013 12:20 AM
Hi, Thanks for replying. I solved the issue. Now I have another question. When I generate the code for teleop it will generate tetrix motors and servos, but it wont generate code the nxt motors. When I test the controllers on the computer before generate the code nxt motors will work. After I generate the code, I wont see any code about nxt motors. I tried it couple of times but it did not work.
09-30-2013 07:03 PM
Hey Roboturk
Could you post the new question in a new post?
Thanks
10-15-2013 04:28 PM
Im having troubles with the original problem with missing sub.vi programs and can't see to find them? is there a way I can download a new file onto my computer that is the full program chooser or should i keep searching for the missing programs?
10-16-2013 12:42 PM
OBSOLETE: {I have posted some pretty detailed options to getting 'Program Chooser' (and 'samostat.rxe') files onto your NXT in the 'Training materials section. https://decibel.ni.com/content/docs/DOC-17939
(I walk you through 'compiling' the newest files you 'locate' and 'add' to your project.)
These files should come in during the 'Firmware update'. However, it is not currently doing that for me.}
Bottom Line (and simplest solution): REFER TO POST #7 in this THREAD
You can go to the 'NXT Terminal' and 'send to NXT' the pre-compiled 'Program Chooser.rxe' from the National Instruments subdirectory C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\NXT\Subs\OnBoardFiles
The 'samostat.rxe' is found there too.
(NOTE: 'NXT Terminal' can be found by clicking on ''>NXT Tools and Apps" at the bottom of the project window.)
You won't need to worry about having these files on your NXT until you start using the WI-FI setup (ie. modem/SAMANTHA/FCS style set-up). If you are using LVLM/MCT with bluetooth communication your good without them, for now.
Hope you find this helpful!
10-17-2013 04:06 PM
Thank you so much! It was a success in finding it:)
11-08-2013 12:27 PM
I was able to finally determine the easiest way to get these files when NI employee ESearl was helping me resolve the missing 'NXTShell.rxe'
Bottom line: The first time you run in 'direct mode' will add all the files to you NXT.
Here is a step-by-step student friendly approach that I posted to the FIRST FTC Forums: