commuication between MATLAB TO LABVIEW

6 views (last 30 days)
Yogesh Babu
Yogesh Babu on 17 Apr 2014
Commented: Friedrich on 5 May 2014
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

Answers (2)

Friedrich
Friedrich on 17 Apr 2014
Edited: Friedrich on 17 Apr 2014
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 Comments
Yogesh Babu
Yogesh Babu on 4 May 2014
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 on 5 May 2014
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.

Sign in to comment.


Brian zhang
Brian zhang on 4 May 2014
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 Comment
Yogesh Babu
Yogesh Babu on 4 May 2014
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!