File Exchange

image thumbnail


version (5.62 KB) by Trent Rehberger
Reads data from a Keysight oscilloscope composite (HDF5) file


Updated 18 Nov 2019

View License

Many Keysight oscilloscopes have the capability of exporting data in a "composite" format that combines both waveform and configuration data into a single file. This function reads these files into MATLAB and stores them in either a timeseries or tscollection object, depending on how many channels are read. It supports reading digital data from MSOs and properly handles segmented memory.
The HDF5 format used by these files is poorly documented and seems to change from time to time, so if you encounter a file that is poorly-handled by this function I'd appreciate an email so I can (hopefully) fix it. Thanks!

Cite As

Trent Rehberger (2020). readKeysightComposite (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Rainer Schillinger


Added support for additional file format variant (thanks to Boris Kling for sending a sample file)

Convert string filenames to char array to prevent crash during HDF import

Added ability to read waveforms saved in the scope's memory

Bugfixes re: digital data and segmented memory
Added ability to select digital channels for import
Standardized inf == all available data convention

Removed an assumption about how digital channels are numbered which could cause an error.

MATLAB Release Compatibility
Created with R2017b
Compatible with R2013b to any release
Platform Compatibility
Windows macOS Linux