FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help to download program chooser.

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?

0 Kudos
Message 1 of 8
(7,706 Views)

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?

Danny Funk -- Senior Group Manager -- Software R&D -- NI
0 Kudos
Message 2 of 8
(4,552 Views)

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.

0 Kudos
Message 3 of 8
(4,552 Views)

Hey Roboturk

Could you post the new question in a new post?

Thanks

0 Kudos
Message 4 of 8
(4,552 Views)

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?

0 Kudos
Message 5 of 8
(4,552 Views)

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!

0 Kudos
Message 6 of 8
(4,552 Views)

Thank you so much! It was a success in finding it:)

Message 7 of 8
(4,552 Views)

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:

http://ftcforum.usfirst.org/showthread.php?2331-Program-Chooser-Samostat-NXTShell-LabVIEW&p=7857#pos...

Message 8 of 8
(4,552 Views)