LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

opening nxt-g vi files in labview

Hey all,

 

Is it possible to open nxt-g vi files in labview? I'm using LV8.5 student edition, Errors (attached image of error message).

I'm specifically interested in how to communicate with the nxt 2 rgb light.  

 

 

Cheers

Nick

0 Kudos
Message 1 of 8
(9,272 Views)
Nope, sorry.  You can't open programs written in MINDSTORMS with any version of LabVIEW.  The file formats are not compatible.
------
James Blair
NI R&D
0 Kudos
Message 2 of 8
(9,270 Views)

Are we talking about the same files? I'm referring to the VI files that come with NXT-G, not RXE or RBT files that are created by NXT-G.

 

I was under the impression that the blocks used in NXT-G are actually made with Labview.

for example the files in this folder {C:\Program Files\LEGO Software\LEGO MINDSTORMS NXT\engine\vi.lib\* } is full of vi files

 

I would like to open these in labview to see how they are done.

 

cheers 

Nick

0 Kudos
Message 3 of 8
(9,256 Views)

My mistake -- I missed the word "vi" in your first post.

 

You are correct that the NXT-G blocks are implemented with LabVIEW VIs.  The specific version of LabVIEW used for the MINDSTORMS environment had some special modifications, though, and I don't know for sure whether the file formats are compatible.  I know MINDSTORMS can import LabVIEW VIs (this is how developers can write their own blocks), but I don't know whether LabVIEW can import MINDSTORMS VIs.  Maybe someone else knows the answer?

------
James Blair
NI R&D
0 Kudos
Message 4 of 8
(9,240 Views)

Hey Nick,

 

If you are still having trouble opening that VI, check out this Knowledgebase discussing some additional avenue for seeking support for your NXT. In that knowledgebase, there is a link to"LabVIEW Add-ons for LEGO® MINDSTORMS® NXT" Do you have this toolkit installed? It could be a matter of simply installing this toolkit. 

 

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 5 of 8
(9,231 Views)
I believe we strip out the source code from the .vi files that are part of the NXT-G editor.  So while those files were created in LabVIEW, you can't bring them over to LV and just open them.  For your specific question, I know that the new sensor is supported in the latest toolkit (2009).
Joel Sumner
NI-Shanghai
0 Kudos
Message 6 of 8
(9,223 Views)

Hey Ben,

 

Thanks for the link, I'll look into it

 

 

 

0 Kudos
Message 7 of 8
(9,216 Views)

Hi Joel,

 

Bugger, it'd be great if you could open those vi's.

Anyway sounds like I'll have to upgrade to 2009, to get access to the RGB light sensor. It'll be interesting to see how it's done in LV 2009

 

Cheers

Nick

0 Kudos
Message 8 of 8
(9,214 Views)