[squeak-dev] [ANN] prototype for reading National Instrument TDMS files

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon May 4 03:29:30 UTC 2020


Hi all,
I have published NITDMSReader, a prototype and proof of concept for reading
National Instrument TDMS data files.
Those binary files are produced by N.I. softwares like Labview and are
mainly used for data acquisition of various sensors.

The interesting bytes is that I tried to carry bulk data transfer via
BitBlt.
I published a BulkDataTransfer package for that too. I think it may be of
general use for transfer of bytes across bit arrays.

An example usage is:
AndreasSystemProfiler spyOn:
    [NITDMSFileReader new
         filename: 'c:\MyPath\MyFile.tdms';
         scan;
         readValuesForChannel: #('MyGroup' 'MyChannel').]
I can extract one channel of 60k records from a 16MBytes file in
approximately half a second, but Time seems dominated by file access.

This is all on STEM, http://www.squeaksource.com/STEM.html.
For now the package rely on BinaryStream, MultipleDimensionArray and on my
inbox Collection refactorings (Long64Array) and recent Float64Array too, as
well as ExternalFloatComplexArray from Smallapack... If ever you try to lad
the package, don't be surprised to see a few undeclared. I'll clean that
later and will provide some Metacello recipe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200504/707862d6/attachment.html>


More information about the Squeak-dev mailing list