Difference between revisions of "Matlab to LabVIEW Communication"

From ESE497 Wiki
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This example code sets up communication between a Matlab Application and a LabVIEW application running simultaneously. They do not necessarily have to be on the same computer.
 
This example code sets up communication between a Matlab Application and a LabVIEW application running simultaneously. They do not necessarily have to be on the same computer.
* Based on this [example http://www.mathworks.com/matlabcentral/fileexchange/42567-matlab-and-labview-data-exchange-over-tcp-ip]
+
* Based on this [http://www.mathworks.com/matlabcentral/fileexchange/42567-matlab-and-labview-data-exchange-over-tcp-ip example]
 
* Download [[media:LabVIEWMatlabComm.zip|LabVIEWMatlabComm.zip]]
 
* Download [[media:LabVIEWMatlabComm.zip|LabVIEWMatlabComm.zip]]
* Launch
+
* Launch LabVIEW program first, then run Matlab script so that the LabVIEW program is ready to listen before the Matlab script transmits
 +
* To communicate from Matlab to the Fanuc Robot, download:
 +
** [[media:MatlabLabVIEWFanucComm.zip|MatlabLabVIEWFanucComm.zip]]
 +
** [[media:FanucLabVIEW.zip|FanucLabVIEW.zip]]
 +
 
 +
<!--
 +
Source for zip file at \\fs1\rem\Home\ESE497_UGradResearch\SP15\Wei
 +
-->

Latest revision as of 21:00, 30 January 2015

This example code sets up communication between a Matlab Application and a LabVIEW application running simultaneously. They do not necessarily have to be on the same computer.