From: Luc E. <luc...@en...> - 2008-06-05 08:56:03
|
Hi Rolf, actually, it turns out that when I get the 'python' scripting node from the OpenG panel of the 'command selector' I still get a crash (I select the Python scripting node, open its diagram and copy the scripting panel to my own VI). However, I just found that if I get a 'generic' scripting node from 'math'>'scripts and formulas'>'scipting nodes'> 'matlab scripting node' (This is a translation from the french version of Labview) and I set the scripting engine to Python, then I don't get a crash anymore, and I obtain the same error as you ! This is rather weird, but I think the second method solves rather well my issues with the python scripting node. Thank you very much for your kind help, luc > Hi Luc > >> I think I was the person who had trouble with numpy... >> Indeed, when I cast all my variables to python 'native' types >> such as 'list', then I don't get into trouble. > > I recently looked into this and I have a problem to see a crash as you > would say it does. > > I tried it in LabVIEW 6.0.2 and with Python 2.5.2 as well as with > LabVIEW 8.0.1 and I simply get an error 1048 from the script node > back. I'm using labpython 1.2.2 as available from sourceforge download. > > Can you give me some more details about your system? > > Rolf Kalbermatter > |