Connecting LEGO mindstorms NXT to my computer

I am trying to learn Labview using the LEGO mindstorms NXT robot. I installed Labview 2009 and started working, but when I open the NXT terminal in the NXT module it claims that the NXT is not connected although it is (via USB). Any ideas ? Could this have to do with the fact that I am using Windows Vista ?
Thanks

This article is intended to indicate the installation and configuration process between LabVIEW and educational robot Lego Mindstorms NXT wirelessly, this will enable LabVIEW developers in having a mobile platform for the development of projects and autonomous robots, we need to install some programs the computer:
https://decibel.ni.com/content/docs/DOC-32448    
Atom
Certified LabVIEW Associate Developer

Similar Messages

  • LabVIEW Toolkit for LEGO MINDSTORMS NXT in Windows Vista

    Anybody knows how install LabVIEW Toolkit for LEGO MINDSTORMS NXT with Windows Vista?. Installing it gives me an error that says 'The windows installer is corrupt. To attempt to resolve the issue, please register the engine by running regsvr32.exe on msi.dll'. But it doesn´t work.
    Thanks in advance

    The work around for this issue is to install each of the MSI files setup.exe calls when running the installer.  I was able to reproduce this issue for the 1.0 toolkit I was unable to do so for the 2.0 toolkit.  This being said the instructions bellow are for those of you who are running into this issue with the 2.0 toolkit.
     Listed bellow are the MSIs  you will need to run (shown here at their default location after the self extracting EXE has been run).  You should run these MSI in the following order.
    C:\National Instruments Downloads\LabVIEW\7.1\LabVIEW NXT Toolkit\2.0\Products\MetaUninstaller\MU\MetaUninstaller.msi
    C:\National Instruments Downloads\LabVIEW\7.1\LabVIEW NXT Toolkit\2.0\Products\MDFSupport\MDF\MDFSupport.msi
    C:\National Instruments Downloads\LabVIEW\7.1\LabVIEW NXT Toolkit\2.0\Products\MDFSupport\MDF\EULADepot.msi
    C:\National Instruments Downloads\LabVIEW\7.1\LabVIEW NXT Toolkit\2.0\Products\LVLEGONXTTK\LVLEGONXTTK\LVLEGONXTTK.msi
    C:\National Instruments Downloads\LabVIEW\7.1\LabVIEW NXT Toolkit\2.0\Products\LVLEGONXTTK_LV71\LVLEGONXTTK_LV71\LVLEGONXTTK_LV71.msi
    C:\National Instruments Downloads\LabVIEW\7.1\LabVIEW NXT Toolkit\2.0\Products\NXT_Driver64\LegoMindstormsNXTdriver64.msi
    A similar procedure can be used to install the 1.0 toolkit if need be.  You can get the install order from the parts from the [Parts] section of the setup.ini.  
    Mark
    LabVIEW R&D

  • System Identification and Transfer Function of the LEGO MINDSTORM NXT Robot

    Can anybody please help with the below question.
    Using your LabView interface, input different values of power and record the output value of the number of wheel rotations. You can convert the latter into speed by measuring the diameter of the wheel. Then, type ‘ident’ in the command line of Matlab to launch a graphical user interface for system identification. Using the data collected for input power and recorded speed, you can derive the transfer function for your robot in the Laplace domain.
    You will notice that it is possible to approximate the transfer function to a first order system.
    Add disturbance to your system such as wind drag, road profile or friction. You might want to model the disturbance as a sinusoidal waveform.
    Analyse the system response in LabView in order to tune the response.
    Finally, write a LabView program to test your controller.
    Set both Integral and Derivative to 0
    Increase the value for Proportional controller to 0.5, 0.8, 1, 1.1, 1.3, and 1.5
    Select a suitable simulation stop time.
    Compare each simulation results and draw some conclusions.
    Record the steady-state error. Has it dropped to near zero?
    Record the rise time. Has it decreased to less than 0.5 second? And for what values of Kp?
    Check whether this response is realistic i.e. a real cruise control system generally cannot change the speed of the vehicle from 0 to 10m/s in less than 0.5 second.
    Adjust the gain (Kp) to give a reasonable rise time and add an integral controller to eliminate the steady-state error.
    Change both Kp and Ki and see what happens to the response. When you adjust the integral gain Ki, start with a small value since a large Ki can destabilise the response. (Ki =0.001, 0.002, 0.003, 0.004).
    Then you need to adjust both the proportional gain Kp and the integral gain Ki to obtain the desired response. Record the values of Kp and Ki that can meet all the design criteria.
    Write the PID-feedback control LabVIEW program as described above.
    Does it work? Quantify! Show us it is working
    Hand in a short report on the PID project on the cruise control of the LEGO MINDSTORM NXT Robot. Your report should contain an introduction to cruise control and uses of PID controllers, a brief explanation of how PID feedback control works. The printout of the Block Diagram and Front Panel of your LabVIEW program should be attached at the end of your report.
    Put it all together. There are many questions that can be explored and written up in the result section. Be creative.
    Here are some things that may be addressed: Check whether your system can stabilise speed to within 1%. What are the optimal PID parameters that you have found? Can you choose PID parameters to both reach the set speed quickly and also maintain the speed within good accuracy once the system has reached the set speed? Can you control the speed of small steps? Explain your results?

    Thanks for that.
    DanHarryman wrote:
    HI ToolMonkey
    You should be able to build control system to do this using PID control VIs. The following paper is a good place to start when working with PID systems. 
    http://www.ni.com/white-paper/6440/en
    Let me know how you get on using some of the functions in this. 
    Thanks 
    Dan.H
    UKAE

  • NI LabVIEW 2009 LEGO MINDSTORMS NXT Module Released!

    This software allows users to run code on their computers to control LEGO® NXT Bricks and compile, download, and run LabVIEW code directly to the NXT.  The new NXT Module 2009 represents a considerable improvement in features and usability over past versions.
    Totally redesigned APIs
    Full access to LabVIEW debugging tools
    Control NXT bricks either by running code in LabVIEW or compiling and deploying code to the NXT brick
    VIs for TETRIX kits are available out of the box
    Support for all LEGO® MINDSTORMS NXT 2.0 sensors.
    NXT Applications  Data Viewer, Piano Player, NXT Multimeter, Remote Control, and Scope
    The module can be downloaded here. 
    Please feel free to ask questions and provide feedback to NI R&D.
    Thanks,
    Mark
    Product Support Engineer - LabVIEW R&D
    Mark
    LabVIEW R&D

    Nice! But I guess that doesn't mean that you will be releasing a free version any time soon... does it. 
    Oh! BTW (slightly off topic) you should remove the "Select Your Operating System" block on the Student edition cd order form. It just gets peoples hopes up that they might get a mac version. 
    Andrew 
    Message Edited by AndrewDudney on 10-22-2009 10:27 PM

  • Labview 2009 Module Mobile And Lego Mindstorms NXT

    Hi
    I've installed the mobile toolkit in labview 2009 but when I created a new mobile project I didn't find the NXT Programmings category on menu.....
    are they not supported?
    I would like to control my nxt with my PDA through bluetooth.
    Thanks in advance for help 

    Hi,
    which NXT software did you exacly installed? LabVIEW Module for LEGO MINDSTORMS NXT or LabVIEW Toolkit?
    I would like to be sure to have corretcly understood: in a mobile project, the function palette of a VI under a PDA target does not have the NXT palette, correct?
    Bye!
    Licia

  • NI LabVIEW Toolkit for LEGO MINDSTORMS NXT

    Labview 7.1.0と一緒に、タイトルのtool kitを使って、
    LEGO MINDSTORMS NXTを動かそうとしているのですが、
    一括コンパイル、nxt tool kit 1.0.1 patchコピーを終え、
    "Getting Started with the LabVIEW toolkit for LEGO MINDSTORMS NXT"(添付)
    の最初の"Building a LabVIEW VI that Runs on the NXT"に従って、
    作成したVIをNXT上で動かそうとしたのですが、
    Debugボタンを押すと、コンパイル、ダウンロードまではうまくいくのですが、
    ダウンロードされたプログラムがNXT上で動作せず、動かそうとすると、
    NXT本体のディスプレイにFILE ERROR!と表示されます。
    NXTのバージョンは、1.03で、
    "LabVIEW Toolkit for LEGO® MINDSTORMS® NXT"を
    一括コンパイルした際には、次のようなメッセージが表示されました。
    #### Starting Mass Compile: 2008年7月2日 18:41:42
      Directory: "C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons"
    Failed to load (C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons\NXTToolkit\shared\NXTToolkit.GetRelevantContexts_8_0.vi)
    Failed to load (C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons\NXTToolkit\shared\NXTToolkit.OpenVIRefInContext_8_0.vi)
    Failed to load (C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons\NXTToolkit\shared\NXTToolkit.RemoveScrollbars_8_0.vi)
    #### Finished Mass Compile: 2008年7月2日 18:42:58
    Labview 7.1では関係ないのかなと思っているのですが、関係あるでしょうか?
    その他でも、不具合原因について、心当たりのある方がいらっしゃいましたら、
     アドバイス頂ければ幸いです。
    小松崎
    添付:
    LabVIEW_Toolkit_for_LMS_NXT_Getting_Started_Guide.pdf ‏201 KB

    I do know of this one software where you can simulate the NXT, but it might only be for NXT-G programs.
    SimplySim at The NXT Step
    Other than that I don't think there's any way.
    As for the difference between the two, there's a whole ton. Those are two different programs with very different syntaxes. Lego NXT-G is the basic software that comes with the NXT kit. It's a very scaled down version of LabVIEW and is pretty nice. LabVIEW is much more advanced and you can do much more with it, but you are restricted to using the LabVIEW NXT Toolkit and the NXT's cababilities. (no float, only so much RAM, etc.). But you can still do a ton more with it. Yes, you can data log with LabVIEW in, like, many ways.
    Hope that helps!

  • Lego mindstorm nxt 2010 install error

    Hi, I tried to install lego mindstorm nxt 2010 (LVLM2010) and got errors that some files are missing - see attached file. Please help and regards, Walter
    Attachments:
    NXTinstallErrors.doc ‏305 KB

    Hi again.I did entpacking once more and tried to install it again. Now I got an error that LV2010 have to be installed before (LV2011 is already installed!) - see attached error message. So I Think that this package cannot be installed on LV2011. What do you mean? Walter
    Attachments:
    NXTinstallErrorLVnotInstalled.doc ‏155 KB

  • Linux labview eval version for lego mindstorms nxt

    Hi,
    I'm a high school teacher in Tamil Nadu, India. Our school recently purchased 4 lego mindstorm NXT kits. We were happy to find that the new software was powered by labview, because it runs on linux. Our school runs on an Edubuntu LTSP network. So we were sad when we discovered the installation disk only supported MacOS and Windows.
    I looked at the labview site for NXT and saw that we could get a student evaluation copy for use with NXT - so I filled out the forms, but when the link to the FTP site was given, it only provided a Windows and MacOS copy.
    Can we obtain a student copy of labview for Linux for use with our NXT kits?
    Thank you, Jason Stewart.

    Hello Jason,
    I'm sorry I didn't make this more clear in my previous post, but the LabVIEW Student Edition for use with LEGO® MINDSTORMS® NXT is only available for Windows.  This will provide you with the LabVIEW 7.1 Student Edition and then you can download the LabVIEW Toolkit for LEGO® MINDSTORMS® NXT.  This will give you the ability to create custom NXT blocks in LabVIEW.
    Another option would be to purchase the latest LabVIEW Student Edition and then download the LabVIEW Toolkit for NXT.  However, this edition is also only available for Windows.  The customers that are downloading the LabVIEW Toolkit for LEGO® MINDSTORMS® NXT on a Mac OS have purchased the full version of LabVIEW for Mac.
    Your best option would be to contact the NI India Sales Office at [email protected] or 91 80-4119 0000.  They would be able to help you best with this.
    Regards,
    Clint M

  • Is Lego Mindstorms NXT 2.0 Mountain Lion Compatible?

    Is Lego Mindstorms NXT 2.0 software compatible with Mountain Lion? 
    My son saved money for a long time and finally last week had enought to buy NXT.
    I'd like to upgrade my Lion to Mountain Lion but since this NXT is the most important thing in house at the moment I don't want to ruin the experience with uncompatible OS.

    I spoke at length with someone at Lego Mindstorms support. Unfortunately I didn't think to get his name.
    He indicated that its a known crash with the NXT software and Mountain Lion bluetooth. However, he was unable to give me any encouragement regarding when it would get fixed. In particular, he indicated there is also a known issue communicating using broadcom bluetooth chipset which is used in Macs for the last several years. He said the NXT software has been broken talking to broadcom devices since 2007. Five years and no fix.
    He indicated the software is a version of Labview written by National Instruments.
    I've checked my systems. My 2012 Macbook Air and 2011 Mini use broadcom chips, while my 2007 white macbook has "cambridge silicon radio". I am able to communicate using my 2007 white macbook running snow leopard.
    Overall I can't say I'm happy with Lego's response. It essentially sounds like their software has been broken for years and they haven't bothered to fix it. I'm personally in a bind since the system we had envisioned using for first lego league isn't practical to use without bluetooth. I realize bluetooth can't be used in competition.
    It doesn't seem the Lego supports their NXT software well nor the Mac platform.

  • Blutooth connection with the robot Lego Mindstorms NXT

    Hi,
    I have got a license for Bluetooth Stack for Windows by Toshiba.
    I try to connect to the Lego robot, Mindstorms NXT : http://mindstorms.lego.com/en-us/default.aspx
    But it does not work.
    The connection seems to be good and both NXT and PC find each other, but when I try to communicate, the NXT says "line is busy".
    Does somebody can tell me if he can get through this issue ?
    Does Toshiba and Lego have a deal about connecting issues ?
    Thank you.

    Hello
    Do you have Toshiba notebook or you just use Toshiba BT stack?
    How to get through this issue? Should someone of us spent 250 Euros to buy this and test it at home? Dear oracid this is user-to-user forum and you can get some help from someone who has identical hardware at home and can help you with his experience.
    Deal between Toshiba and Lego in my opinion there is no deal. Every manufacturer who build hardware and want to use BT must know how this works. On the hardware market there are specific specifications for each communication technology and what Toshiba do is to build and offer specified hardware.
    In your case you should contact Lego support and ask for help. they have, probably, tested own stuff with different hardware platforms, operating systems and BT software so Lego should have enough experience with own products.

  • Getting results to the Lego mindstorm NXT brick

    In a nutshell, my group and I are trying to use eye movements to control the Lego mindstorm, ie look left turn left look right turn right etc. We will be acquiring the eye movement signals through labview signal express and running those signals into labview to move the NXT robot. We are in need of assistance in both the signal importing into labview and the subsequent utilization of the said signal by the NXT. We already have the NXT toolkit and are able to succesfully run basic programs. The problem we've had is that we need the results continuously imported into the NXT so that we can maintain control of the vehicle.  So basically we need pretty close to real time results, sort of like a joystick type of thing. My group members and I have limited experience with labview so any assistance is appreciated. 

    Hello King945,
    Here is a link that walks through sending and reading Bluetooth messages. I have also include a basic NXT Front Panel Control vi. The vi will work if the NXT toolkit is installed and if the NXT brick is wired to the computer through a USB cable. Also, if you integrate the Bluetooth messaging with this vi you should be able to control the NXT using front panel controls through Bluetooth.
    Wear
    National Instruments
    Product Support Engineer
    Attachments:
    Front_Panel_Steering_Control.vi ‏102 KB

  • Lego Mindstorms NXT drivers and toolkit for LabVIEW 8.6

    Hello everyone
    Anyone know if are some Lego NXT toolkit available for LabVIEW 8.6 ?

    Has this been answered?  I have wondered this for a while.

  • LabVIEW Toolkit for LEGO MINDSTORMS NXT bugs

    When you find bugs in the toolkit, post them to this message thread.
    This board will be regularly monitored by both NI Application Engineers and members of the development team.
    Thanks for helping us create a better toolkit going forward.
    John Field
    MINDSTORMS Software Group Manager
    LabVIEW R&D

    Hi John,
    Problem: Unsupported case structure values in NXT Toolkit VIs.
    I think the problem is, that the VIs of the NXT Toolkit do not follow the restrictions of the Programming Guide of the NXT Toolkit. The programming Guide says at page 6 (Structures, Case Structure) that
    “Only one specific value (or "Default) is allowed in the case selector lable for each subdiagram."
    But for example the "PortSemaphore.AccessSemaphores.vi", which is part of the NXT Toolkit (and which is a Sub VI of "NXT_SyncUnlimited.vi") uses a Case Structure with the values “0, Default”, “1”, and “2”. This is only one example. I found many VIs in the NXT Toolkit which are using case structures with more than one specific value or with a “0, Default” value.
    Why does the NXT Toolkit include VIs whitch are not programmed according to the Programming Guide of the NXT Toolkit?
    How can I solve the problem? Do I have to modify each NXT-Vi with incorrect case structure values?
    I am using LabVIEW 7.1 and NXT Firmware 10.3.
    Regards
    Manfred

  • Wiimote and Lego Mindstorm NXT

    Hi,
    I am using labview 8.5. I programmed the wiimote via labview and this works fine. I, however, cannot seem to get it to work with the nxt.
    I just want to control the nxt to do all the basic movements such as forward, backward and so on.
    Has anyone attempted to program the wiimote and the nxt together? Is there a sample program I can look at please?
    Thanks in advance

    I don't really know much, but when I googled it a whole bunch of hits came up that looked good. Try that.

  • LEGO Mindstorms 2.0 crashes at startup when LabView Signal Express is installed first

    When NI Circuit Design Suite Education Edition is installed first in a computer and the LEGO Mindstorms software second, the LEGO Mindstorms software doesn't work, it reports the following:
    Error: A required file is broken
    Possible Solutions: Reinstall the LEGO Mindstorms NXT Driver  (tried but doesn't work)
    Error code: 1003
    Ordinal not found
    The ordinal 18 could not be located in the dynamic link library NIVISV32.dll
    Error loading "fantom.dll"
    The operating system can not run %1
    On other computers the LEGO software starts running, it displays part of the initial screen and then a small window opens saying that the Mindstorms software has has an error and that it will close. The previous report doesn't show.
    If LabView Signal Express is uninstalled and then the LEGO software reinstalled, the LEGO software works.
    I've dowloaded and installed new and old versions of the NIVISV32.dll and this doesn't correct the problem. I went as far as version 4.20 of the dll because it is dated in 2007 and the dll file installed by the LEGO software when it works is also dated 2007, but if I install the dll without uninstalling LabView Signal Express, the LEGO software continues not working.
    Please advice how to correct this problem without having to uninstall LabView Signal Express first. If the LEGO software is installed first, is LabView Signal Express going to use and not to replace the old 2007 version of the dll installed by the LEGO software? Is there any LEGO software update that corrects this problem?
    I repeat: I know a solution is to uninstall LabView Signal Express, install LEGO Mindstorms and then reinstall LabView Signal Express but I have 60 computers already cloned and deployed with this problem, so I don't want to go to this long process to fix the problem. The computers are using Windows 7 and problems happen on both the 32 and 64 bits versions of Windows 7.
    Any ideas???
    Solved!
    Go to Solution.

    I couldn't reproduce the error either, but in our x86 computers this problem appeared after several months; we used LEGO Mindstorms last time in Summer 2011 without any problems and just three weeks ago when we were checking the computer for our Summer 2012 classes if when we noticed the problem. I’m still going to try to reproduce the error in an x64 computer where the problem appeared immediately.
    Anyway, I’m attaching a word file with images of captured screens where you can see the error reports generated by LEGO Mindstorms and a series of steps uninstalling and reinstalling these program plus LabVIEW, until LEGO Mindstorms finally works after having uninstalled all traces of LabVIEW.
    Images can be expanded and zoomed in to a better view of the details and if I can reproduce the problem in an x64 computer I’ll let you know.
    Please see if you can find out something based on the images I’m sending.
    Thank you.
    Attachments:
    LEGO PROBLEM.doc ‏3129 KB

Maybe you are looking for

  • ? How do you change default for .pdf files from Reader 6 to reader 9

    I cannot change the default for .pdf files from reader 6 to reader 9. Also I cannot remove reader 6. I am running Vista

  • Formula for totaling $ Amount per Category per Month

    I'm doing a Numbers spreadsheet similar to a check register and one page is a budget where I'm trying to keep track of how much money was spent on each category compared to a set amount I'm trying to budget for. I have a separate table for each month

  • Quartz Filters Not Working Mavericks

    I have a Mac Book Air running the latest OS. I created a document in Pages 5. Printed it to PDF then opened it in Preview to apply the Grey Tone filter. I export it and choose the filter, but it doesn't apply. I can't apply any filters, at all. Any i

  • Secondary sounds done after export

    sry for this kind of german english: hi i never was thinkig that i get a bigger problem then my mother in law but here it is after export a video with secondary sounds on audio 3 audio2 .. i have only the sound from the audio sound1 and by the way th

  • Mail cannot search email by full text

    Starting sometime in 10.7.2, my Mail can no longer search my emails with keywords. The only working one is search by contact. Spotlight can still search email by full-text, but it is barely usable for my purpose. Upgrading to 10.7.4 did not fix this