At this point, I compiled the "UDP sender" from the examples using LabVIEW for Linux 2014 with my desktop hardcoded as the destination IP address. I copied the executable over to the Edison, ran it as follows:
xvfb-run ./send
and a few seconds later on my desktop:
I am getting UDP packets from my Edison to my host computer sent from a LabVIEW application! I was pretty excited by this. At this point, I decided that I wanted to see if I could get a GUI running.
I started up a virtual display and launched fluxbox using:
I was greeted with a desktop so I launched a terminal and executed the send program. Here is the result:
So there you have it, LabVIEW executables running on a headless Intel Edison with remote desktop support. Oh, and once the VI is running from the remote desktop, you are free to disconnect and reconnect without terminating the running VI.
As to resource usage, I show while running everything:
root@ubilinux:~# free -h
total used free shared buffers cached
Mem: 960M 174M 786M 0B 9.0M 100M
-/+ buffers/cache: 64M 896M
Swap: 0B 0B 0B
It's pretty tight, you will definitely run out if you do not do the RTE installation from /home. As to IO, I have not played much with doing anything with the IO ports, that's next on my list. I wanted to share my progress so far and get people's feedback.
Deploying LabVIEW to Intel Edison
in LabVIEW General
Posted · Edited by jdieringer
I had a LabVIEW user group meeting last week talking about embedded platforms and when I got home I saw the Intel Edison collecting dust on my desk:
Since it is x86, I thought I would try to deploy a Linux LabVIEW executable to the Edison and run it in the Run Time Environment. Here is what I did:
3) Install the prereqs for the LabVIEW RTE (this was already installed with the above, but good to check):
4) Download the RTE and unzip it, I put it in /home as /root gets pretty full
6) the RTE is an rpm and we need deb so get alien:
7) convert the rpm to deb (this takes a while):
8) Install the RTE:
9) Install some missing fonts:
At this point, I compiled the "UDP sender" from the examples using LabVIEW for Linux 2014 with my desktop hardcoded as the destination IP address. I copied the executable over to the Edison, ran it as follows:
and a few seconds later on my desktop:
And from a linux VM, I created a SSH tunnel and started a VNC connection
I was greeted with a desktop so I launched a terminal and executed the send program. Here is the result:
So there you have it, LabVIEW executables running on a headless Intel Edison with remote desktop support. Oh, and once the VI is running from the remote desktop, you are free to disconnect and reconnect without terminating the running VI.
As to resource usage, I show while running everything:
The VI is using about 5% CPU as well as 5% on the the VNC server and 3% on the virtual framebuffer.
Here is the disk usage:
It's pretty tight, you will definitely run out if you do not do the RTE installation from /home. As to IO, I have not played much with doing anything with the IO ports, that's next on my list. I wanted to share my progress so far and get people's feedback.
Thanks
Jon