When Using Python Node Will the Application Execute in Parallel

Updated Feb 4, 2019

Reported In

Software

  • LabVIEW 2018

Programming Language

  • Python

Issue Details

I have application where I'm using Python Node and I want to know if the Python code will be running in parallel with the rest of the code.

Solution

When You correctly build Your code than the Python code will be executing in parallel.

For example if You will have two loops with Python Nodes than the application will execute in parallel.



The execution will be in parallel also when You have to call the same function in the same module.

Additional Information

In the example above, you can see that While Loop is immediately terminated. But this construction will tell to the compiler that these two parts of code should run in parallel.