02-04-2013 03:54 PM
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.
02-05-2013 07:17 PM
Hello King945,
There are many examples included with the LabVIEW NXT module which can get you started. If you open the “example finder”. To do this in LabVIEW click Help » Find Examples. Under the browse tab select Toolkits and Modules » NXT Robotics » Motors » Front Panel Steering Control.vi. This VI will allow the user to control the steering and power of the NXT device. Also, there is a Joystick example found under the example finder by selecting the Search tab and searching for ‘joystick’. The name of the example is Basic Input Demo.vi. This VI can be used to take in joystick commands. If you integrate the basics of these two VI’s it should be possible to attain the functionality that you are looking for.
02-07-2013 02:22 PM
02-07-2013 03:41 PM
Hey King945,
Were you able to find the Basic Input Demo? If you have the NXT Toolkit installed the motor examples should be installed under: C:\Programfiles\National Instruments\LabVIEW\examples\NXT Robotics\Motors. Also, verify that you have the NXT Robotics Function Palette when you right click on your block diagram.
02-18-2013 09:42 AM
02-19-2013 09:20 AM
Hey King945,
If you open 'example finder' » select the 'Search' tab and search 'NXT' you should get a list of examples that pertain to the LEGO Minstorms NXT.
03-11-2013 04:24 PM
I looked through the examples but none of them address the problem I'm having. I found a VI in another thread but it did not work. Basically I just need to know how to control the NXT motors from the front panel or block diagram of the PCI have attached the example VIs that I found.
03-11-2013 04:24 PM
Here are the other VIs
03-12-2013 05:56 PM
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.
10-25-2013 01:23 AM
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