Azzera filtri
Azzera filtri

commuication between MATLAB TO LABVIEW

6 visualizzazioni (ultimi 30 giorni)
Yogesh Babu
Yogesh Babu il 17 Apr 2014
Commentato: Friedrich il 5 Mag 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

Risposte (2)

Friedrich
Friedrich il 17 Apr 2014
Modificato: Friedrich il 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 Commenti
Yogesh Babu
Yogesh Babu il 4 Mag 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 il 5 Mag 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.

Accedi per commentare.


Brian zhang
Brian zhang il 4 Mag 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 Commento
Yogesh Babu
Yogesh Babu il 4 Mag 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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by