<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>bTѭю2nM, &lt;many more binary points&gt;<br><br>POINT_DATA 41525<br>SCALARS dg float 1<br>LOOKUP_TABLE default<br>2=2<br>2;Y2 J2,b2225o262bL11Ig15x121-1+;1)1(1'e1&amp;ַ1&amp; 1&amp;.1%r1&amp;r1%ò1&amp;t &lt;more binary data&gt;<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>