Can I Execute Python Code from LabVIEW without Using the Python Node?

Updated Dec 20, 2024

Reported In

Software

  • LabVIEW

Issue Details

I use LabVIEW 2020, which isn't compatible with Python versions higher than 3.6. When I use the Python node in LabVIEW 2020 with Python 3.10, it causes an error. Can I execute Python code from LabVIEW without using the Python node?

Solution

Yes, you can execute Python code by using the command prompt. LabVIEW has a function called System Exec.vi that allows you to execute commands on the command prompt.

pic.png