LabVIEW Interface for Arduino Discussions

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 3 条)
5,743 次查看

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

0 项奖励
2 条消息(共 3 条)
3,642 次查看

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 项奖励
3 条消息(共 3 条)
3,642 次查看