02-26-2012 03:23 PM
I have been programming the Arduino in labview and connecting to it via the USB port. Now I want to develope a simple vi using the I/O channels of the 2560 as Shared Variables in my project. So I need to communicate through the Ethernet port.
Is there a simple way to connect my laptop to the Mega 2560 through the Ethernet Shield instead of the USB port? Can anyone share a Labview example that utilizes the Arduino Ethernet port and/or use the 2560 as a target in a project?
01-29-2014 03:26 AM
I'm a rookie with Arduino and I have the same problem.
01-29-2014 10:13 AM
Hey guys,
The short answer is that you cannot host shared variables on the Arduino because there is no shared variable engine built for the Arduino.
What you could do is use LIFA running on the development computer to read from the Arduino IO and write that data to a shared variable hosted on the development computer. Another alternative is to use an NI Real-Time target such as the myRIO rather than the Arduino. The myRIO is able to run the shared variable engine and can host shared variables that can be accessed via the myRIO built in Wifi connection.
Please let me know if you have additional questions about this.
Thanks!
-Sam K
Join / Follow the LabVIEW Hacker Group on google+