Installation
Measurement Data Viewer requires VS Code 1.85 or later. Nothing else is needed: no NI software, no Python, no HDF5 library.
From a store
- VS Code
-
Search for Measurement Data Viewer in the Extensions view (Ctrl+Shift+X, or Cmd+Shift+X on macOS), or install it from the Visual Studio Marketplace.
- VSCodium, Cursor and other editors based on VS Code
-
Install it from Open VSX.
The identifier of the extension is wovalab.tdms-viewer.
From a .vsix package
Without access to these stores, download the .vsix package of a version from the releases, then run Extensions: Install from VSIX… from the Command Palette.
Pre-releases
What the next version brings is sometimes published on both stores before it is released, as a pre-release.
-
On the page of the extension in the Extensions view, click Switch to Pre-Release Version. VS Code installs the latest pre-release, then the next pre-releases and the releases as they come.
-
Switch to Release Version goes back to the latest release.
Pre-releases are tried before they are published, but less than the releases: report what goes wrong in the issues of the project.
A version in development
Each pipeline of the project builds the package of its commit, a pre-release numbered by the commits that lead to it (0.1.66 for the 66th).
-
Download the package from the package job of the pipeline (kept 30 days).
-
Install it with Extensions: Install from VSIX….
-
On the page of the extension, untick Auto Update, so that the version of the store does not replace it.
Other HDF5 viewers
With another HDF5 viewer installed, such as H5Web, VS Code asks which one opens an HDF5 file the first time. Reopen Editor With…, in the Command Palette or the menu of the tab, switches between them.
To choose once and for all, set workbench.editorAssociations in your settings:
"workbench.editorAssociations": {
"*.h5": "measurementDataViewer.viewer",
"*.hdf5": "measurementDataViewer.viewer"
}
Use "h5web.viewer" instead to open them in H5Web.
For the extensions that the viewer does not open by default, see Which files open in the viewer.
- Which one to choose
-
Measurement Data Viewer shows HDF5 files as measurement channels, with the grid, the charts and the exports of TDMS files, and reads files of any size by ranges. H5Web shows the whole HDF5 tree and datasets of any dimension, as images or heat maps, but loads the file in memory, up to 2 GB.
Formerly TDMS Viewer
Up to version 0.2.0, this extension was named TDMS Viewer.
It was renamed in version 0.5.0, as it now reads other measurement file formats, starting with HDF5.
It is the same extension, with the same identifier (wovalab.tdms-viewer): VS Code updates it as usual, and there is nothing to install or uninstall.
The settings were renamed from tdmsViewer. to measurementDataViewer..
Those of TDMS Viewer still apply until you change them, in the settings or in the viewer.
The commands are now Measurement Data: Open Chart and Measurement Data: Open XY Chart.