Effacer les filtres
Effacer les filtres

commuication between MATLAB TO LABVIEW

6 vues (au cours des 30 derniers jours)
Yogesh Babu
Yogesh Babu le 17 Avr 2014
Commenté : Friedrich le 5 Mai 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

Réponses (2)

Friedrich
Friedrich le 17 Avr 2014
Modifié(e) : Friedrich le 17 Avr 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 commentaires
Yogesh Babu
Yogesh Babu le 4 Mai 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 le 5 Mai 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.

Connectez-vous pour commenter.


Brian zhang
Brian zhang le 4 Mai 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 commentaire
Yogesh Babu
Yogesh Babu le 4 Mai 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur LabVIEW dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by