Code covered by the BSD License  

Highlights from
Read Yokogawa *.wvf files

5.0

5.0 | 5 ratings Rate this file 21 Downloads (last 30 days) File Size: 18.11 KB File ID: #20830

Read Yokogawa *.wvf files

by Erik Benkler

 

23 Jul 2008 (Updated 23 Mar 2011)

Reads Y-t data written by Yokogawa Oscilloscopes to binary *.wvf files

| Watch this File

File Information
Description

Reads Y-t data from binary files written by Yokogawa DL1600 series, DL750 or 7440 oscilloscopes.
hdrread.m reads the information from the *.hdr header files.
wvfread.m reads the Y-t data from binary *.wvf files.

Probably, it also works for other Yokogawa oscilloscopes, but this has not been tested. Please let me know if it works or not with other models.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
wfm2read.m

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
09 Dec 2009 Matthias Graf  
18 Dec 2009 John Baillie

Thanks for writing this script; it works better than the Yokogawa equivalent!

Is there a way of reading History waveforms from a wvf file?

16 Feb 2010 Tristan Valenzuela

Very helpfull. Thanks for the scripts!

Does anyone know how to read the data from a yokogawa .wdf file? I know that one can convert it to .hdr+.wvf with the yokogawa Xviewer... but doing it by hand on hundred of traces can be a real pain....
Thanks for your help any way!

26 Jul 2010 Pasan

This script is very helpful to me.

I've been using script for several projects now with Yokogawa DL1640 oscilloscope and also with Yokogawa SL1000 DAQ.

With SL1000 wdf files I convert them to wvf using it's own converter since your script does not support wdf files yet.

When I use this script in Linux I found that I have to change backslashes to slashes in both wvfread and hdrread files. Now I use isunix, ispc commands in matlab to correct this automatically. May be you can use fullfile command in matlab and omit slashes or backslashes completely!!

Thank you very much for sharing this!!!

02 Aug 2010 Bernd Meister

Very helpfull. Saves my day!

02 Dec 2010 Armel Mevellec  
14 Jan 2011 Erik Benkler

Dear Tristan,

your question concerning YOKOGAWA *.wdf files: I recently found the follwing document: http://support.us.yokogawa.com/downloads/TMI/TM-DAQ/SL1000/Instruction%20Manuals/SL1000%20WDF%20API%20Specifications.pdf

It seems that the XViewer package contains DLLs, which in principle could be used from within Matlab for the purpose of reading wdf files (see Matlab external interfaces help for accessing DLL functions). It is not clear if the free/evaluation version of XViewer will provide the DLL, but there is a good chance. However, at the moment, I don't have enough time to dig into this.

Erik

Please login to add a comment or rating.
Updates
31 Jul 2008

forgot to include stringparse.m in the first upload

31 Jul 2008

added support for Yokogawa DL 7440 scopes

26 Sep 2008

Added support for DL750 Oscilloscope,
plus some minor changes (e.g. moved stringparse and fileparse functions to hdrread.m)

12 Mar 2009

- fixed some bugs
- improved performance
- added support for DL 750 logic data

30 Apr 2009

improved file name checking

30 Apr 2009

improved file name checking (2)

25 May 2009

BSD license

24 Jul 2009

wvfreadb.m (block>1 support)
support for accessing blocks
support for the "Block" format
Removed bug in hdrread.m
Removed function "assign"
Added wrapper function wvfreadall.m
Added sample file wvf_logicsignals_example.m

10 Dec 2009

Adapted hdrread.m to correctly read files written by newer DL750 oscilloscopes (verified with model version 6.22).

23 Mar 2011

(a) changed meaning of "datapoints" input parameter
(b) minor changes related to warnings / error checking

Tag Activity for this File
Tag Applied By Date/Time
data import Erik Benkler 22 Oct 2008 10:11:33
data export Erik Benkler 22 Oct 2008 10:11:33
yokogawa Erik Benkler 22 Oct 2008 10:11:33
waveform Erik Benkler 22 Oct 2008 10:11:33
oscilloscope Erik Benkler 22 Oct 2008 10:11:33
header Erik Benkler 22 Oct 2008 10:11:33
measurement Erik Benkler 30 Apr 2009 11:17:24
yokogawa Khalid 13 Sep 2011 02:16:39

Contact us at files@mathworks.com