Hi ESD,
Nice to hear from you again
🙂HWS is a rather rigid binary format, so I think you would benefit from changing file types. In HWS, each waveform in a group requires a minimum of 72 kB, and these chunks grow in 64 kB increments. A single chunk can hold up to 32,500 2-byte samples before another will be added. Since your waveforms are only 100 samples long, you're well under the first tier.
You could use the HWS format more efficiently if you concatenated waveforms before writing them to file -- you could hold 325 records in a single chunk and then start a new group. Reading this information back will take some intelligence since you'd have to know how you packed them in when they were written.
Alternatively, you could write a pure binary file and do similar parsing on read. This option will give you the most efficient use of disk space.
Finally, if you'll be looking at millions of data points, you'll need to choose a way to view and process them. Excel supports 64k rows (where k is 1024), so you may need to roll your own data manipulation as well. NI does offer a high-volume data processor, DIAdem [1], that can support up to 2 billion data points. It uses data plugins to parse custom binary files, so if you choose to write to binary files, you will be able to import your data quite simply.
[1] DIAdemhttp://www.ni.com/diadem/
Joe FriedchickenNI Configuration Based Software |
---|
Get with your fellow OS users [ Linux ] [ macOS ] | Principal Software Engineer :: Configuration Based Software Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018) Software Engineer :: Measurements RLP Group (until Mar 2014) Applications Engineer :: High Speed Product Group (until Sep 2008) |