[SciPy-user] reading (labview) binary data
Wed Jul 15 08:00:25 CDT 2009
i'm looking for the fastest way to read (labview) binary files.
i figured out a method which is basically the same as described on:
binaryFile = open("Measurement_4.bin", mode='rb')
(data.offset,) = struct.unpack('>d', binaryFile.read(8))
but this is terribly slow. to read 12 MB takes about 80 seconds.
matlab is orders of magnitude faster ..
is there a better, i.e. faster way to read in (labview) binary files?
More information about the SciPy-user