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

David T. Lewis lewis at mail.msen.com
Mon May 4 19:04:39 UTC 2020


Very cool! Thank you.

Dave

On Mon, May 04, 2020 at 05:29:30AM +0200, Nicolas Cellier wrote:
> 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.

> 



More information about the Squeak-dev mailing list