From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with LabPython - unable to get it running...

Solved!
Go to solution

Hey,

 

i have the same problem. Now i use the python2.7. I have added the line "PythonServer=C:\WINDOWS\system32\python27.dll" to the file Labview.ini . But after, if i tried to run "PYTHON Array Example__ogtk.vi", it shows alwayslabview_failure.gif

 


who can help me to solve this problem?   Thanks!

0 Kudos
Message 12 of 14
(1,305 Views)

I also had trouble running example and the fix was to use python25.dll instead of python27.dll and use the python set server path to point to python25.dll and add this set server call in front of the python array example and now it runs

LabVIEW 2016 32 bit version

 

0 Kudos
Message 13 of 14
(645 Views)

LabPython is pretty old. (Note last post here was almost 7years ago!!)  If it still does what you need great, but you might run into issues.  For a more modern approach you might look at -

 

https://forums.ni.com/t5/NI-Blog/LabVIEW-and-Python-Friends-or-Foes/ba-p/3594212

http://blog.thepythontutor.com/2017/05/scripting-python-with-labview.html

http://sine.ni.com/nips/cds/view/p/lang/en/nid/213990

Message 14 of 14
(642 Views)