Title: Re: [python-win32] Reading a UInt32 array from LabVIEW
I've tested build 208 with success. Just one exception:
When I try to read an array of unsigned 8bit integers I get the following result:
(<read-write buffer ptr 0x00E35B30, size 3 at 0x00E35B10>)
What is special about UInt8 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 Hammond
Skickat: ti 2006-03-14 23:21
Till: Ola Rylow; python-win32@python.org
Ämne: Re: [python-win32] Reading a UInt32 array from LabVIEW

> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
> Behalf Of Ola Rylow

> I'm accessing LabVIEW through the ActiveX interface and I'm having a
problem with reading a UInt32 array.

Support for VT_UI4 safe-arrays was added in pywin32 build 207, so you should
try that.  Note however that build 208, soon to be released, fixes a bug
that caused large unsigned numbers to be converted to negative Python
integers - so you probably will also want to grab build 208 as soon as it
released.

Mark

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to