3D Robotics

Using Arduino with LabVIEW


A quick tutorial, found here. Excerpt:

"This is a quick (REALLY quick) writeup on establishing a connection between the Arduino Duemilanove and LabVIEW. I used a very simple setup where the Arduino would send its data via serial, and the listening LabVIEW would ‘hear’ it and plot it to a waveform chart. To achieve 2-way communication, the Arduino would listen for a command at the beginning of each iteration. If a command was heard, it would react by turning an LED on or off, depending on the command received. If nothing was heard, then it would continue on through the analogRead() cycle to measure the drop across the potentiometer. The method is inefficient and barbaric, but my intent was proof-in-concept. The concept may be improved upon to increase reliability and efficiency, but I have not had the time to do so."

(via the Arduino blog)
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Nothing really spectacular here, at least IMHO. Arduino can be replaced with any micro-controller, and Labview with any processing software, ie MatLab. The act of defining your own communications between a data collector and a data processor/display is a common practice, and fairly easy.

    @SciFly: I doubt it. Why would NI work on support for Arduino when they would rather have you buy their expensive data acquisition modules? They have there own line of LabView powered embedded controllers for robots too, for thousands of dollars. They wrote the LEGO support because, well, LEGO paid them to do it.
  • Great-thanks for spreading. I was just looking at this page the other day.I think every one interested in physical computing should put on the Labview hat once and a while- especially for the visually inclined. When will NI make it possible to code arduino using G-code?They have done it with so many other embedded systems-take the LEO midstorms for example.......
  • Thats really great !
This reply was deleted.