Supported files

Measurement Data Viewer reads NI TDMS files and HDF5 files. HDF5 support is a first version: files of the LabVIEW toolkit h5labview2 and of h5py.

TDMS files

The parser is checked against reference files written by LabVIEW: it must return what NI’s own TDMS functions read from them.

Versions

TDMS 1.0 and 2.0 files (versions 4712 and 4713), written by LabVIEW or any other tool.

Layout

Multiple segments, incremental metadata, contiguous and interleaved data, little- and big-endian data.

Types

Channels and properties of type I8 to I64, U8 to U64, SGL, DBL, Boolean, String (UTF-8) and Timestamp.

Waveforms

Channels with the wf_start_time, wf_increment and wf_xname properties are plotted against their waveform time.

Units

Taken from the unit_string property.

Interrupted writes

Files cut by an interrupted write: the complete data is shown, with a warning.

DAQmx logs

Files logged by DAQmx (DAQmx raw data) are scaled as NI’s own reader scales them:

  • voltage, current, thermocouple, RTD, strain gage, bridge, IEPE, resistance and counter channels;

  • custom linear, polynomial, table and map ranges scales;

  • digital lines.

Other channels with scaling information (NI_Scale properties, NI_Scaling_Status "unscaled") are scaled the same way.

When the scales of a channel cannot be applied, its unscaled values are shown, with a warning and "(unscaled)" next to its type. See Warnings.

Not supported yet

  • Values of complex, extended-precision and fixed-point channels.

HDF5 files

Files with the extension .h5, .hdf5 or .he5 open in the viewer, read by ranges as TDMS files are, without any library to install. The reader is checked against reference files written by h5py: every object, type, layout, attribute and value must match what the HDF5 library itself reads from them.

The File tab of an HDF5 file written by h5py: its attributes

How an HDF5 file is shown

HDF5 is a general container, a tree of groups and datasets. The viewer shows it as measurement channels:

Groups

A group that holds datasets is a group of the viewer, named by its path: /bench/fast, or / for the root group.

Channels

A dataset of one dimension is a channel.

Compounds

The fields of a dataset of compounds, such as LabVIEW clusters or NumPy structured arrays, are the channels of a group of their own.

Two dimensions

The rows or the columns of a dataset of two dimensions are the channels of a group of their own: the shorter dimension gives the channels. This rule is provisional.

Properties

Attributes are properties.

Files and layouts

Versions

Files written by the HDF5 library 1.8 to 2.0, in its earliest and its latest file formats, SWMR files included. A userblock before the HDF5 data is skipped.

Layouts

Compact, contiguous and chunked datasets.

Filters

Chunks compressed with deflate (gzip), shuffle, Fletcher-32 or LZF.

Types

Integers, floats (half and extended precision are shown as doubles), strings of fixed and variable length, Booleans, enums (as integers) and object references (as paths).

Conventions

HDF5 has no standard convention for time or units. The viewer reads those of the producers of measurement files:

Producer What the viewer reads

LabVIEW, with h5labview2

Waveforms: their WAVEFORM_DT and WAVEFORM_T0 attributes give the time of the samples, as wf_increment and wf_start_time do in TDMS. A dataset of several waveforms has one per row, each with its start time. Timestamps, values with a unit (units: V), Booleans and clusters.

Python, with h5py

Times of the CF conventions: an attribute units such as seconds since 2026-01-01T00:00:00Z makes numbers dates. Units in an attribute units. Dimension scales (make_scale): a scale stored in another group is shown first in the group of the datasets attached to it, so that the charts plot them against it.

Waveforms written by h5labview2: their WAVEFORM attributes as properties

The charts plot these channels against their time, as for TDMS files:

A chart of two waveforms of h5labview2 against their date and time

A CF time is shown as dates in the grid, and serves as the time of the channels of its group:

A group written by h5py: a CF time shown as dates

The LabVIEW toolkit Live HDF5 will be supported as far as reference files can be written with it. Not targeted for now: MATLAB v7.3, pandas and PyTables, NetCDF4.

Not read yet

What the viewer does not read is listed, with the reason, instead of being left out:

  • datasets compressed with other filters, such as Blosc, szip or scale-offset;

  • complex values;

  • datasets of three dimensions or more;

  • links to other files, given as a warning.

A file with a Blosc dataset

Reading files of the LabVIEW toolkits written by their own VIs, rather than by imitations, is the next step. Two-dimensional views, such as spectrograms, are being studied.

Any file

  • Files that are not on a disk, such as a version of a file in the Git history, are read whole: up to 2 GiB.

  • Following a file that is still being written is not supported yet.

  • In charts: saved chart configurations are not supported yet.

Report a file

A file that does not open as expected helps a lot: report it in the issues, with the file if you can share it.