Jump to content

LabPython 1.2-2 and LabVIEW 7.1


Recommended Posts

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 by Dave21
Resolved
Link to comment
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!

Link to comment
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!!!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.