[python-win32] Reading a UInt32 array from LabVIEW
Ola Rylow
Ola.Rylow at hiq.se
Wed Mar 22 16:26:37 CET 2006
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: python-win32-bounces at python.org genom Mark Hammond
Skickat: ti 2006-03-14 23:21
Till: Ola Rylow; python-win32 at python.org
Ämne: Re: [python-win32] Reading a UInt32 array from LabVIEW
> From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]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 at python.org
http://mail.python.org/mailman/listinfo/python-win32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20060322/3a315d34/attachment.html
More information about the Python-win32
mailing list