From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I export the schematics into a VI?

Hello,

I'm currently programming my robot for an FTC competition and I have the code done in the schematic editor, but I was wondering how I can export that to create the VI which I can then upload to the NXT brick. I'm on a Mac and I'm using 2010 Labview. I believe I also have the toolkit for the 2010 Labview version installed.

Thanks

0 Kudos
Message 1 of 5
(4,180 Views)

FTC teams are required to use the LVLM 2012 version for the 2013-2014 season, as per Robot Software Rule 03, stated in Game Manual 1, page 23

(excerpt)

<RS03> Programming for the FIRST Tech Challenge must be done with an approved programming language, using

MANDATORY FTC Competition Templates, and corresponding firmware. Approved programming languages are:

a. ROBOTC version 3.0 or later (firmware version 9.0 or later)

b. LabVIEW for LEGO MINDSTORMS 2012 (LVLM 2012) (NXT Firmware version 1.31 or later)

Templates for all programming choices are available at www.usfirst.org/roboticsprograms/ftc/programmingresources. {follow the 3 page guide linked below}

If updates are announced later in the season, teams must update to the latest version prior to time of competition.

Remember to always read both Game Manuals (1 and 2) carefully. Here's the link to Manual 1:

http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FTC/Game_Info/2013/FTC-20...

I suggest that you follow the instructions here to get the LVLM 2012 and newest MCT Toolkit properly installed: http://ftcforum.usfirst.org/showthread.php?2608-LabVIEW-Installation-and-tips-for-being-competition-...

You definitely want to download and print out the 3-page file from Post #2 here: https://decibel.ni.com/content/thread/19824?tstart=0  (this is the one linked on the FIRST FTC Forum post above)

The required downloads are found here: https://decibel.ni.com/content/docs/DOC-17997

In the meantime, you should be able use the 'generate code' button after defining your remote controls in the 'RC Editor' to create the teleop VI for deploying to the NXT. You will only have this button if the FTC Toolkit was installed.

Follow the installation instructions carefully to ensure that you have a good working installation of LVLM 2012    Good Luck this season!

0 Kudos
Message 2 of 5
(3,547 Views)

Ok, I've installed the latest LabVIEW program and the latest toolkit and I still do not see the button to export my schematic diagram to a VI.

0 Kudos
Message 3 of 5
(3,547 Views)

At this point it may be a 'terminolgy issue'. You will neverr actually deploy the Schamatic Editor to the NXT - the robot itself is the physical embodiment of the S.E. (i.e. the S.E. must define the robot, and the robot must be a representation of the S.E. that was is in place when the R.C. Editor performs the 'generate code')

It is the 'Generate Code' button in the RC Editor that will create the LabVIEW code .vi that embodies the definitions FROM the S.E. and how they relate to the CONTROLLER BUTTONS you have defined in the RC Editor.

If you still can't locate the 'generatee code' button, then please post a screenshot of your RC Editor screen.

Message 4 of 5
(3,547 Views)

Yep. Just discovered that. Thanks!

Message 5 of 5
(3,547 Views)