09-22-2014 04:18 AM
Hello,
I would like to communicate between Python and Labview through OSC (Open Sound Control). Actually, I want to run some VIs and send the results to Python through OSC protocol and my objective is to use exclusively Open source codes. So I installed labview, python, OSC toolkit and OSC library for python, do you know what should I do thereafter to control my VIs through OSC in python?
Zied
09-23-2014
08:29 AM
- last edited on
05-09-2026
04:11 PM
by
Content Cleaner
Hi ziedhosni,
In this link [link removed; article no longer available] you can observe how to get started on the OSC Library in LabVIEW. There is a very good explanation on how to create the structures for OSC Server or OSC Client, the API and some related links that might be useful for your case.
Regards,
Luis Calderón
National Instruments
09-23-2014 09:45 AM
Thanks for the link, I looked at it before I wrote here. The problem is that I do not understand very well how the OSC will communicate between python and Labview.
Zied
09-23-2014 10:36 AM
Hi ziedhosni,
If you can create a UDP connection and send a OSC Message in Python, the VI in LabVIEW will be able to read it, it is just matter if Python can accomplish it. Basically what you need to do is set the program in Python to what the “Basic LabVIEW OSC Server” or “Basic LabVIEW OSC Client” is doing on the document that I linked before.
Luis Calderón
National Instruments