From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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?
In this link 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.
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.
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.