[SciPy-user] reading (labview) binary data
Wed Jul 15 08:56:08 CDT 2009
I have no experience with Labview files, but for uniform data structures, I
found numpy.fromfile and numpy.memmap to be more practical than
On Wed, Jul 15, 2009 at 9:00 AM, Michael Graber <email@example.com>wrote:
> hi all,
> 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:
> that is:
> 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?
> SciPy-user mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user