This VI sends inputs to a simple Python script, and returns its output. The basic method could be used to call code from many different languages, like Python, Perl, and Tcl.
Requirements: LabVIEW, Python
This isn't really any more than an example of how to use System Exec, though I suppose that'll be useful to some people.
What happens if I want to pass parameters to a Python script that contain spaces or reserved characters - is there an easy way to make sure they get quoted or escaped correctly or is it up to the LabVIEW programmer to figure this out?
Or you can use this toolkit https://forums.ni.com/t5/LabVIEW-APIs-Documents/Open-Python-Interface/tac-p/3613384#M228
Hello everybody I just did a new entry on my blog about an alternative on how you can integrate Python and LabVIEW
If any question or doubt don't hesitate to comment or contact me 🙂