Dave21 Posted November 15, 2023 Report Share Posted November 15, 2023 (edited) I am trying to setup calling some simple python scripts from LabVIEW 7.1 using labpython 1.2-2. I installed labpython and python 2.7, but cannot get the script to work. Keep getting errors like PYTHON New Session__ogtk.vi->PYTHON Symple Execute__ogtk.vi or LabVIEW: LabVIEW cannot initialize the script server. in PYTHON Test Script Node__ogtk.vi I assume I don't have something configured. Are there instructions or can someone let me know what I am missing? Also tried installing python 2.4 - same issue. Never mind - Resolved issue by pointing to the correct directory to load the dll. On 64-bit systems the directory is syswow64. Edited November 15, 2023 by Dave21 Resolved Quote Link to comment
Neil Pate Posted November 15, 2023 Report Share Posted November 15, 2023 2 hours ago, Dave21 said: I am trying to setup calling some simple python scripts from LabVIEW 7.1 using labpython 1.2-2. I installed labpython and python 2.7, but cannot get the script to work. Keep getting errors like PYTHON New Session__ogtk.vi->PYTHON Symple Execute__ogtk.vi or LabVIEW: LabVIEW cannot initialize the script server. in PYTHON Test Script Node__ogtk.vi I assume I don't have something configured. Are there instructions or can someone let me know what I am missing? Also tried installing python 2.4 - same issue. LabVIEW 7.1 and python 2.7? Yikes! Quote Link to comment
Rolf Kalbermatter Posted November 16, 2023 Report Share Posted November 16, 2023 20 hours ago, Dave21 said: I am trying to setup calling some simple python scripts from LabVIEW 7.1 using labpython 1.2-2. I installed labpython and python 2.7, but cannot get the script to work. Keep getting errors like PYTHON New Session__ogtk.vi->PYTHON Symple Execute__ogtk.vi or LabVIEW: LabVIEW cannot initialize the script server. in PYTHON Test Script Node__ogtk.vi I assume I don't have something configured. Are there instructions or can someone let me know what I am missing? Also tried installing python 2.4 - same issue. Never mind - Resolved issue by pointing to the correct directory to load the dll. On 64-bit systems the directory is syswow64. LabPython needs to know which Python engine to use. It has some heuristics to try to find one but generally that is not enough. But as Neil says. For some things, old-timers can have their charm, but in software you are more and more challenging the Gods by using software that is actually 20 years or more old!!! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.