05-28-2013 08:06 AM
Hi,
I am new to labview, and arduino. However, I was working on some examples for fun in trying to understand how everything works. I've been trying some basic examples such as blinking and motor control.
However, I was wondering if it is possible to communicate with the Arduino using UDP, such as the example in the IDE (send/recieve string) where the host is my PC and the arduino is the reciever. I've tried played with it in Processing, as that is what was recommended, but I want to try to implement it within Labview. I've seen the non-LIFA UDP sender/receiver, but don't know where to start to somehow "convert" that so it works with the arduino.
Could someone please help? I'm using labview 2012 student edition, and I have an arduino uno.
Thanks in advance!
05-28-2013 10:37 PM
LIFA is currently only designed to work via serial communicatin (usb, xbee, etc). There is a thread that has working ethernet communication with the Arduino via a modified verison of LIFA but I'm guessing that it's based on TCP. Is there a specific reason you want to use UDP?
05-29-2013 07:30 AM
HI Nathan,
Thanks for the quick response, but there isn't a specific reason that I wanted to use UDP. Just a newbie trying to use a third party (labview) to make an interface for the UDP example in arduino.
In fact, I solved my own question this morning. You can infact use the UDP examples in labview to send a message to the arduino and for the arduino to reply back to the receiver. All you really need to know is the IP address of your arduino board (as that is the remote host) and the two ports you are using.