<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Re: [python-win32] Reading a UInt32 array from LabVIEW</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText99689 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I've tested build 208 with
success. Just one exception:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>When I try to read an array of unsigned
8bit integers I get the following result:</FONT></DIV>
<DIV dir=ltr>(<read-write buffer ptr 0x00E35B30, size 3 at
0x00E35B10>)</DIV>
<DIV dir=ltr>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)</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>-Ola</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> python-win32-bounces@python.org genom Mark
Hammond<BR><B>Skickat:</B> ti 2006-03-14 23:21<BR><B>Till:</B> Ola Rylow;
python-win32@python.org<BR><B>Ämne:</B> Re: [python-win32] Reading a UInt32
array from LabVIEW<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>> From: python-win32-bounces@python.org<BR>[<A
href="mailto:python-win32-bounces@python.org">mailto:python-win32-bounces@python.org</A>]On<BR>>
Behalf Of Ola Rylow<BR><BR>> I'm accessing LabVIEW through the ActiveX
interface and I'm having a<BR>problem with reading a UInt32
array.<BR><BR>Support for VT_UI4 safe-arrays was added in pywin32 build 207, so
you should<BR>try that. Note however that build 208, soon to be released,
fixes a bug<BR>that caused large unsigned numbers to be converted to negative
Python<BR>integers - so you probably will also want to grab build 208 as soon as
it<BR>released.<BR><BR>Mark<BR><BR>_______________________________________________<BR>Python-win32
mailing list<BR>Python-win32@python.org<BR><A
href="http://mail.python.org/mailman/listinfo/python-win32">http://mail.python.org/mailman/listinfo/python-win32</A><BR></FONT></P></DIV>
</BODY>
</HTML>