ReadLeCroyBinaryWav​eform.m

Reads LeCroy binary waveforms, modified existing file to support sequence acquisition.
3.8K Downloads
Updated 13 Jan 2010

View License

Reads LeCroy binary waveforms. Based on file by user "Alan":
http://www.mathworks.com/matlabcentral/fileexchange/2114-readlecroybinarywaveform-m
Modified to support sequence acquisition mode, including trigger time tags. Tested on files generated by a WavePro 7 Zi.

% ReadLeCroyBinaryWaveform - read binary waveform file created by a LeCroy Oscilloscope
% waveform = LeCroyBinaryWaveform(FILENAME) loads the waveform file into the workspace variable W.
% FILENAME can either be a variable or a string constant enclosed by quotes.
%
% The return value "waveform" is a record containing four elements:
% waveform.INFO Waveform information, in readable formats. For example Oscilloscope ID, sampling time and settings
% waveform.DESC Waveform information used for further calculations. For example Sampling rate
% waveform.Y Values sampled by the oscilloscope
% waveform.X Array of time values corresponding to waveform.Y. Time '0' marks the trigger event
%
% The routine was tested with files generated by a WavePro 7 Zi, Template LECROY_2_3

Cite As

Jean-Daniel Deschênes (2024). ReadLeCroyBinaryWaveform.m (https://www.mathworks.com/matlabcentral/fileexchange/26375-readlecroybinarywaveform-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Instrument Connection and Communication in Help Center and MATLAB Answers
Acknowledgements

Inspired by: ReadLeCroyBinaryWaveform.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0