03-20-2022 08:29 AM
Got this error after the program run , what is ReadImage function ? why it couldn't be found while the program already run successfully ?
file as attached below
Solved! Go to Solution.
03-20-2022 09:15 AM
it is supposed to be a user defined funtion within the python script you are calling
03-22-2022 01:14 PM
goes like this
def function():
x = ...
return x
an easy example of a user defjnied function is shown in
C:\Program Files\National Instruments\LabVIEW 2020\examples\Connectivity\Python\support
03-23-2022 12:01 PM
thanks so much , I'm quite a beginner in python, met "return" few times but didn't know what it does
03-23-2022 12:04 PM
by the way, do you know how to take number/ data out from the python from the labview? I want to take data from python then process it in labview
03-23-2022 12:17 PM
Click on Help >> Find Examples... and search for "Python", you will find several examples.