01-13-2007 08:08 AM
Hi everybody,
In the "getting started example" where you can make a wired loop with soundsensor and a diagram I can save the file in a .vi format. After compile, download to the brick and run, everything works.My problem now is, how to make from this file a block for Lego Mindstorms that I can import in Lego Mindstorms?
When I make a new VI block the program only saves a .vi file, and not the other files in a map you need in Lego Mindstorms.Do I have to use the ‘new block wizard’ option? But how? Do I need to install the PhantomSDK drivers? (if so how to install?)
Windows XP, Labview 7.1.1 did a mass compile, labview toolkit installed, dynamic block update…
Michael Bleeker
Netherlands
01-18-2007 12:10 PM
Hi Michael,
Glad to hear you were able to get up and running writing basic LabVIEW code for the NXT.
The easiest way to start making a new block that can be imported in to the Mindstorms software is by using the New NXT Block Wizard. There is a bit of work that goes into making an actual block. The best way to find out how is to read our "Creating LEGO MINDSTORMS NXT Software Blocks" guide. It is installed with the NXT toolkit to LabVIEW\manuals\NXT_Creating_MINDSTORMS_Blocks.pdf. While it doesn't cover every single aspect of block development, it will walk you though the basics of modifying the Implementation, Config, and Draw code that is associated with each Mindstorms block.
And, no, you don't need to install the FantomSDK. The Fantom drivers are installed with either the LabVIEW toolkit or the Mindstorms software.
Brady Duggan