Code covered by the BSD License  

Highlights from
Read binary Rigol waveforms

5.0

5.0 | 2 ratings Rate this file 19 Downloads (last 30 days) File Size: 3.09 KB File ID: #18999

Read binary Rigol waveforms

by Paul Wagenaars

 

02 Mar 2008 (Updated 28 Mar 2009)

Read binary waveform (.wfm) files stored by Rigol oscilloscopes

| Watch this File

File Information
Description

This function will read binary waveforms (.wfm files) that were stored by Rigol oscilloscopes.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
25 Apr 2010 Walter

Works great. Thanks.

22 Mar 2011 Tobias Lamour

H Paul,

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:

________________
%% PlotRigolWaveform
clear all; clc;
% reads wfm file
[y, nfo] = readRigolWaveform('b.wfm');
% Creates an time array based on the details in "nfo"
TIME=linspace(nfo.x0,nfo.x0+nfo.dx*length(y),length(y));
% plots all available traces along TIME axis
plot(TIME,y)
_______________

Feel free to recycle that if you wish.
Many thanks,
Tobi

17 Oct 2011 William Dally

This does not work on .wfm files produced by my Rigol 1104B. Does anyone know the file format for the 1104?

Please login to add a comment or rating.
Updates
11 Dec 2008

- Fixed a few bugs
- WARNING: interface of function has been changed

12 Dec 2008

Fixed the help comments section in the beginning of the file.

28 Mar 2009

Fixed crash when readRigolWaveform was called without any output arguments.

Tag Activity for this File
Tag Applied By Date/Time
data import Paul Wagenaars 22 Oct 2008 09:51:10
data export Paul Wagenaars 22 Oct 2008 09:51:10
import Paul Wagenaars 22 Oct 2008 09:51:10
oscilloscopes Paul Wagenaars 22 Oct 2008 09:51:10
rigol Paul Wagenaars 22 Oct 2008 09:51:10
wfm Paul Wagenaars 22 Oct 2008 09:51:10
waveforms Paul Wagenaars 22 Oct 2008 09:51:10
binary Paul Wagenaars 22 Oct 2008 09:51:10
waveforms Florian Aulanier 08 Apr 2009 19:22:11
oscilloscopes Steve Cook 14 Sep 2011 11:30:49

Contact us at files@mathworks.com