LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and autonomous mode - feasibility

So, I'm designing a robot that I want to control using labview but I also want to it to run autonomously. Is it possible to use labview while having a arduino sketch on the microcontroller? Or is it one or the other?

0 Kudos
Message 1 of 5
(4,327 Views)

Your question is kind of vague.  To try and clear up some confusion, you'll need to understand that when using LIFA or LINX, no LabVIEW code is running on the Arduino.  The system works by having a sketch on the Arduino that is designed to communicate with LabVIEW and the packet system used by LIFA.  So, technically, the answer is "Both".  Your computer must always have a constant connection (either via a USB cable or an xBee).

If that doesn't clear up your question you'll need to be more specific.

0 Kudos
Message 2 of 5
(3,622 Views)

Yes it is possible to control a robot using Labview.   One possible configuration is use Xbee for communication between Labview and an Arduino Uno board mounted in the robot.  Depending upon how much programming you wanted to do and the installed sensors the robot could run  autonomously.over 90% of the time and ocasionally be congtrolled by Labview.l.   Or the robot could be predominantly controlled by Labview.   LIFA is not suitable for autonomous control.   You can find several examples for using Labview with robots using the search phrase "labview robotics arduino" with Google.  One example Is:

<http://www.instructables.com/id/CARduino-Arduino-Powered-LabVIEW-Controlled-Veh/>

hrh1818

0 Kudos
Message 3 of 5
(3,622 Views)

To be a little more specific, I want to write a sketch that will be used for autonomuous control. This will be on an arduino ATMEGA 328P, I want to be able to switch over to manual control on the fly. I wanted to use labview for the gui. I will be using xbee for the wireless communication. I guess I want to know if I can add the sketch that is designed for communication with labview to the sketch I will create to run autonomously, to be able to take control utilizing labview.

0 Kudos
Message 4 of 5
(3,622 Views)

The Arduino IDE only allows you load and run one sketch at a time.  Everythig you want Ardjuino to do has to be one sketch.

hrh1818

0 Kudos
Message 5 of 5
(3,622 Views)