10-17-2018 12:28 AM
Hi,
I am trying to run the following example to see if I can run the python script with Labview and learn how it works:
http://www.ni.com/tutorial/8493/en/#reviews
I keep on getting an Error 2 stating - "Memory is full ". I use the following for the working directory and command:
Working Directory: C:\TestScripts
Command Line: python MyScript.py argument
Please let me know if I am doing anything wrong here or how I can get it working. Any help is appreciated.
Thanks
10-17-2018 04:20 AM
No solution, am no expert, haven't tried, etc. But... Doesn't LV18 have native Python support? I'd use that any day over the command line.
It could of course be MyScript.py that causes the problem...
10-17-2018 08:50 AM
Can you attach the Python script you are using?
10-17-2018 10:58 AM
Hi Brandon,
I have attached the files I downloaded from http://www.ni.com/tutorial/8493/en/#reviews
I haven't changed anything and tried running them as per instructions in the white paper. But I get the same error. Thanks for your help.
10-18-2018 02:29 AM
haven't checked the code, but did you check the Python version?
V2 and V3 are not compatible (most notably there's a difference between how text in the print function is quoted).
Have you tried the script from the command line, not through LabVIEW? Or from IDLE?