LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Mega 2560 R3 Ethernet Shield

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?

0 Kudos
Message 1 of 3
(5,285 Views)

I'm a rookie with Arduino and I have the same problem.

0 Kudos
Message 2 of 3
(3,184 Views)

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

LabVIEW Hacker

Join / Follow the LabVIEW Hacker Group on google+

0 Kudos
Message 3 of 3
(3,184 Views)