[python-win32] Problem with multiple calls of a DLL

2006-12-12 Thread Ola Rylow
Hi, I know this is not exactly a new question on this list but I have not been able to solve my problems by reading old threads. I have a dll (MyDLL) from which I want to call some methods. I've tried using Ctypes: print windll.MyDLL.FirstMethod() print windll.MyDLL.SecondMethod() If I

Re: [python-win32] Reading a UInt32 array from LabVIEW

2006-03-22 Thread Ola Rylow
and what shall I do to read them as integers (without having to change the type of the array in the source) -Ola Från: [EMAIL PROTECTED] genom Mark HammondSkickat: ti 2006-03-14 23:21Till: Ola Rylow; python-win32@python.orgÄmne: Re: [python-win32] Reading a UInt32 array from LabVIEW From

[python-win32] Reading a UInt32 array from LabVIEW

2006-03-14 Thread Ola Rylow
I'm accessing LabVIEW through the ActiveX interface and I'm having a problem with reading a UInt32 array. The code used is: inParams = ["Numeric", "Numeric 2", "Numeric 3", "Array"]inValues = [9,8,7, ()] retval = viReference.Call(inParams, inValues) where "Array" is output and the rest is

[python-win32] Reading custom output parameters from LabVIEW/Acti veX

2005-11-08 Thread Ola Rylow
By using pythoncom.Missing, which I read about in another thread, I got a LabVIEW error message instead: return self._get_good_object_( pywintypes.com_error: (-2147352567, 'Exception occurred.', (5002, 'LabVIEW', 'LabVIEW : paramVals type mismatch. Expected 1D array of variants.', None, 0, 0),