From: Rolf K. <rol...@ci...> - 2006-04-27 09:18:16
|
Stappers, F.P.M. wrote: > I've installed Linux (SuSE-10.0), Python 2.2.3, Labview7, > OpenG and Labpython under Linux. However when I try want to > to output my a connector I'm not able to select a datatype. > > However when I do the same under MS Windows it al works fine. > So my question is, what am I doing wrong. > > PS: Everything is correct installed and I think it has > something to do with the python22.dll (which is for windows > offcourse). LabPython has not really been tested for Linux yet as I never tested if and how the scripting interface would need to be adapted to work for LabVIEW for Linux. You would definitely need to create the Linux shared library first and install that One into your LabVIEW folder. But the last version I created crashed LabVIEW consistently. Putting pyscript.dll into the according LabVIEW resource folder will not do anything as this is a Windows shared library and can't be loaded by LabVIEW for Linux nor will it even attempt to. Python22.dll can't possibly work eitehr since it is Windows too and there would need to be a pythonXX.so instead on your system for the scripting interface library to link to. But as said my tests with LabPython on Linux were very limited And there seems to be a regression in some revision of Python 2.4 that was caused by a security fix to Python that prevents LabVIEW from unloading the script node shared library after it has been used. This is under Windows but I would expect a similar problem under Linux too. Currently I have no time to spend on investigating this LabPython Problem nor on trying to figure out how this needs to be configured to work under various Linux and LabVIEW versions. Rolf Kalbermatter |