Example Code

Drive NXT using LabVIEW Front Panel

Code and Documents

Attachment

Download All

Introduction

Now you can easily control the direction and speed of an NXT brick using 2 motors.  This is done simply with the User Interface of the LabVIEW front panel.

driveFP.png

Steps to Complete

Connect motors into ports A & B and communicate to the NXT using Bluetooth.  Deploy the NXT code and run it, then run the Host code and play with the front panel to drive your NXT module.

NXTdrive.png

National Instruments
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
MichaelSilva
Member
Member
on

can you explain me step by step how to connect the NXT to LabVIEW? I connect the NXT to a bluetooth adapter to run the program but does not detect it. Can you give me a manual or a code of how to do that?

Greetings!

Mar84
Member
Member
on

Hi, i have download your program, NXT_drive run on nxt brick and PC_drive run in labview target on pc, but the nxt brick not responding. The nxt brick is connected to pc and the NXT application browers work.

Contributors