<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi everybody,<br>I want to read in a structured grid file which looks like this:<br><br># vtk DataFile Version 2.0<br>structured grid test<br>BINARY<br>DATASET STRUCTURED_GRID<br>DIMENSIONS 275 151 1<br>POINTS 41525 float <br>ÒÑìbÒÑÍTÒÑîÒÑŽ2ÒÑnÒÑM«ÒÑ,ÜÒÑ <many more binary points><br><br>POINT_DATA 41525<br>SCALARS dg float 1<br>LOOKUP_TABLE default<br>2=ì2<br>äå2;Y2 JØ2,b22¤„25¢o26É2bL1á©1IgÔ15xâ12„î1-·1+·;1)«¾1(‰³1'eÂ1&Ö·1& ô1&.‘1%r”1&r1%ò1&t <more binary data><br><br>and everytime I get the error "<span style="font-family: 'Courier'; color: rgb(0, 0, 0);">Generic Warning: In C:\berk\ReleaseBuilds\ParaView3\VTK\IO\vtkDataReader.cxx, line 933</span>
<p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);">Error reading binary data!"</p><p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);"><br></p><p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);">I looked up the vtkDataReader and it seems that there is a problem with the function vtkReadBinaryData, that the eof is reached too soon, but does anyone know how to fix this?</p><p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);"><br></p><p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);">any help appreciated,</p><p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);">kind regards,</p><p style="margin: 0px; text-indent: 0px; font-family: 'Courier'; color: rgb(0, 0, 0);">Natalie <br></p><br><br><br><br><br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>