07-22-2019 07:58 AM
Hello,
I am looking for a way to implement communication between Labview and a python script. I have a python script that is doing some vision analysis for me and returning a score based on the quality of the image. I have a function in the python script that simply returns the value of this score, and I am able to successfully retrieve this value from within labview. However, I am only able to get the initial value. Is there a way to have the python script running in parallel with the labview program and have labview return the "live" value of the score? Any help would be greatly appreciated.
Thanks,
Jeremy
07-22-2019 07:59 AM
07-22-2019 08:02 AM
Thanks for the reply!
I had considered going that route but thought that the use of the python node would be easier to implement. My idea was to have the python node call a function in the python script which simply returns the value of the score mentioned in my post. I have declared the score to be a global variable and it is constantly being changed from within the python script. However, when I use the python node to call the function, I am always returned the initial value of the score.
07-22-2019 08:08 AM