This function will read binary waveforms (.wfm files) that were stored by Rigol oscilloscopes.
FWIW - only works with ch1 and ch2 traces. Don't plot, nor examine any of the logic analyzer data (for the '1102D instrument). For the scope channels, work great.
Good foundation for extending analysis.
Thank you so much for sharing! It works well for me! One thing I'm wondering about is that is there a corresponding write code that can write the data back into wfm?
This does not work on .wfm files produced by my Rigol 1104B. Does anyone know the file format for the 1104?
many thanks for distributing this very well programmed Rigol waveform reader.
This works like a charm.
Maybe a small example file like the lines below would enable inexperienced users to extract the full functionality of your great work quicker:
clear all; clc;
% reads wfm file
[y, nfo] = readRigolWaveform('b.wfm');
% Creates an time array based on the details in "nfo"
% plots all available traces along TIME axis
Feel free to recycle that if you wish.
Works great. Thanks.
Fixed crash when readRigolWaveform was called without any output arguments.
Fixed the help comments section in the beginning of the file.
- Fixed a few bugs
View the winning live scripts from faculty and students who participated in the recent challenge.Learn more
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.