|
From: Rolf K. <rol...@ci...> - 2008-06-04 05:44:41
|
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 |