|
From: Luc E. <luc...@en...> - 2008-06-04 08:45:02
|
Hi, 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. best regards, luc > Hi Glen, > > I'm quite new to LabPython and am having trouble getting my program to > work > when compiled and called from LabVIEW. LabVIEW loads, compiles and sends > variables to the program without problem but the program won't get past > the > first function. The function uses numpy routines and the only thing I can > think of is that maybe there's a problem with using numpy and scipy in > LabVIEW. Does anyone know if this is the case? > > Indeed it is. I believe it is not so much the numpy itself if I remember > correctly but the fact that I couldn't see an easy way of supporting numpy > (and other optional packages) datatypes in my C binding without compiling > those packages into LabPython itself. > > If you look at the mailing archive there was a similar inquiry a few > months > back and the solution was to use normal numeric datatype by casting > instead > and live with the implicit conversion this will cause. > > Rolf Kalbermatter > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > LabPython-Users mailing list > Lab...@li... > https://lists.sourceforge.net/lists/listinfo/labpython-users > |