LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

The time of download using the toolkit NXT for labview is about 5 - 8 minutes !!!

I created a VI using the "LabVIEW_Toolkit_for_LMS_NXT_Getting_Started_Guide" then I downloaded this to the NXT such as the Guied said but te time of download is  5 - 8 minutes.  then I did another program a litle bit more big and it never get dowloaded. It stoped when It was compiling...
 
can you anybody help me?
 
i attach the program I did... the second program is only to put on a motor...
0 Kudos
Message 1 of 14
(11,316 Views)
After you installed the toolkit, did you mass compile it?

If not, read the information in the NXT Getting Started manual, found in the /manuals directory where you installed LabVIEW.

- john
Message 2 of 14
(11,301 Views)
Thankyou very much John Field... that was the problem...
0 Kudos
Message 3 of 14
(11,281 Views)
do you know how to accelerate the compiling speed. i think 5~8 is too long.
0 Kudos
Message 4 of 14
(11,021 Views)
Have you tried mass compiling, as mentioned above?
------
James Blair
NI R&D
0 Kudos
Message 5 of 14
(11,014 Views)
hey all. I don't know what you mean of mass compile. becouse some program when I down load it tace 1/2 hour. what I had to do .plz in detail.
0 Kudos
Message 6 of 14
(10,520 Views)
hey all. I don't know what you mean of mass compile. becouse some program when I down load it tace 1/2 hour. what I had to do .plz in detail.
0 Kudos
Message 7 of 14
(10,519 Views)
In the installation instructions for the NXT Toolkit, it tells you to mass compile the toolkit and it tells you exactly how to do this. This is an essential step.  We provide the toolkit in LabVIEW version 7.1 format. If you use the toolkit in a later version such as 8.5, LabVIEW will load the toolkit and compile it on the fly. This leaves a lot of stuff in memory that will dramatically (and I mean dramatically) slow down the compile phase of the toolkit. 

From the installation notes:
  • To run the toolkit efficiently, you must mass compile the toolkit VIs in the version of LabVIEW in which you install the toolkit. Complete the following steps to mass compile the LabVIEW Toolkit for LEGO® MINDSTORMS® NXT.
    1. Launch the version of LabVIEW in which you installed the toolkit.
    2. Select Tools»Advanced»Mass Compile.
    3. Browse to the labVIEW\vi.lib\addons\NXTToolkit folder and select Current Directory (LabVIEW 8.x) or Curr Dir (LabVIEW 7.1).
    4. Select Mass Compile to begin the mass compile process.


If you want the gory details on why this needs to be done, see my blog post: http://ideasinwiring.blogspot.com/2005/05/benchmarking-labview-operation.html  (item #4)


Joel Sumner
NI-Shanghai
0 Kudos
Message 8 of 14
(10,506 Views)

hey. I do a mass compile but an error accure:

#### Starting Mass Compile: Wed, Feb 27, 2008 6:05:47 PM
  Directory: "C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\addons\NXTToolkit"
Could not load (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\addons\NXTToolkit\gcompiler\GetType.llb\Type Code.ctl) because (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Utility\GetType.llb\Type Code.ctl) in memory
Could not load (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\addons\NXTToolkit\gcompiler\GetType.llb\Type Descriptor I16 Array.ctl) because (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Utility\GetType.llb\Type Descriptor I16 Array.ctl) in memory
Could not load (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\addons\

 

what I had to do?

 

0 Kudos
Message 9 of 14
(10,489 Views)
I see you are using 8.5. Did you download and install the 1.01 patch? It's required for 8.5

https://lumen.ni.com/nicif/us/evallegotoolkit/content.xhtml
Joel Sumner
NI-Shanghai
0 Kudos
Message 10 of 14
(10,476 Views)