commuication between MATLAB TO LABVIEW

23 次查看(过去 30 天)
Hello , i want to run an .m file on a PC with matlab and another different than the PC where LabVIEW is running on. 1.MATLAB COMPUTER 2.LABVIEW COMPUTER MATLAB act as master here once a push button it should send a signal to LABVIEW and the program should start in the LABVIEW computer.Let me know hoe to do this

回答(2 个)

Friedrich
Friedrich 2014-4-17
编辑:Friedrich 2014-4-17
Hi,
when using Windows consider using DCOM. There seems to be an example for that on the NI page here. On the MATLAB side you would need to use the actxserver function.
  2 个评论
Yogesh Babu
Yogesh Babu 2014-5-4
Hello Friedrich, It is not working in Windows 8 version.Could tel me Is there any other method to communicate from MATLAB to LABVIEW
Thanks in Advance ..
Friedrich
Friedrich 2014-5-5
What exactly is not working? Can you call LabView through DCOM at all? If not, consider contacting LabView to get some assistance to set it up correctly.

请先登录,再进行评论。


Brian zhang
Brian zhang 2014-5-4
1. matlab pc remote control labview pc to turn on/off, control any pc program including your labview.
2. using keyboard/mouse emulator control labview pc.
you still need to use your eye ball to look labview pc. otherwise to convert labview program with a state machine with variables controlled by your master.
will that work? try it.
  1 个评论
Yogesh Babu
Yogesh Babu 2014-5-4
Thanks for your reply Hello Brian zhang, The aim of the work is to connect a wired connection/wireless connection between two different computers running two different platforms one is Matlab and LABVIEW ... Matlab should generate a pulse or signal after then Labview should start running a program which already programmed

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 LabVIEW 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by