Measurement Data Viewer
Measurement Data Viewer opens measurement data files directly in VS Code, read-only.
It reads NI TDMS files (.tdms), HDF5 files (.h5, .hdf5) written by the LabVIEW toolkits, h5py or pandas, NetCDF-4 files (.nc4, .nc) and MATLAB files of version 7.3 (.mat): their properties, groups, channels and values, the way NI’s Excel add-in shows them, with charts of the channels and measurement cursors.
Formerly TDMS Viewer: see Formerly TDMS Viewer.
Also in a web browser, without VS Code: see Web edition.
Why use it
- Read-only
-
The file is never modified.
- Nothing else to install
-
No NI software, no Python, no HDF5 library, no native module. It works wherever VS Code runs: Windows, macOS, Linux, Remote SSH, WSL and containers.
- Fast
-
The values of a 20 MB file (714,285 rows) appear in less than 0.1 s.
- Large files
-
Files of 10 GB open in seconds, without being loaded in memory. The grid scrolls through hundreds of millions of rows, and charts draw curves of hundreds of millions of samples.
- Follows the VS Code theme
-
Light or dark.
What you can do
The file properties and its groups, then one tab per group with its channels and a grid of their values. |
|
Copy cells to Excel, export a group or the whole file to CSV or to an Excel workbook. |
|
Plot channels against time, across groups and acquisition rates, with measurement cursors C1 and C2 and statistics between them. |
|
Plot a channel against another one, such as a force against a displacement, and select cycles on a cursor chart. |
|
Open files of several gigabytes: the viewer reads only what it shows. |
Supported formats
| Format | Status | Notes |
|---|---|---|
NI TDMS ( |
Supported |
TDMS 1.0 and 2.0, DAQmx logs with their scales, files of any size. See Supported files. |
HDF5 ( |
Supported |
Files of the LabVIEW toolkit h5labview2, of h5py, pandas and PyTables, HDF5 library 1.8 to 2.0: groups by path, datasets as channels, waveforms, CF times, compression. See HDF5 files. |
NetCDF-4 ( |
Supported |
|
MATLAB 7.3 ( |
Supported, first version |
Opened on request. See MATLAB files. |
See Which files open in the viewer for those that open by default.
Get it
Search for Measurement Data Viewer in the Extensions view of VS Code, or see Installation.
Report problems and ideas in the issues. A file that does not open as expected helps a lot, if you can share it.