2015-12-02

Reading Lecroy Binary Waveform in Python

I needed to read Lecroy binary waveforms files recently, and the one python script I had found didn't read them properly due to improper handling of 16 bit samples.

I wrote an alternative lecroy.py that should be a drop-in replacement. It  handles 16 bit waveforms and exports a LecroyBinaryWaveform class that also provides additional metadata. It supports saving to CSV for binary to text conversion.