Hendrik van Rooyen wrote: > "Mario M. Mueller" <[EMAIL PROTECTED]> wrote: > > >> I uploaded a short sample data file under >> http://www.FastShare.org/download/test.bin - maybe one can give me >> another hint... In a full data example max value is 1179760 (in case one >> looks only at the eye-cathing "65535"+- values). > > I clicked on the link and got nothing but rubbish trying to predict how > old I would get, so I gave up and am flying blind.
Sorry, it's a one click hoster. I cannot tell anything about this rubbish - I use Adblock Plus. :) > Some A to D's are not two's complement, but have strange formats with an > independent sign bit in the highest order. > > And of course there is big and little endian - so there are something like > 2x2 = 4 things to try - twos compl. big and little, and signed big and > little. > > Unless there is a protocol interfering - how do you know, in the byte > stream, where a value starts and stops - is it cr,lf delimited? I have files containing only the data. Marek's fix to my code solves the challenge. Mario -- http://mail.python.org/mailman/listinfo/python-list