DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

New DataPlugin to read HDF5 files

A new DataPlugin to read HDF5 files is available for free web download.

 

The new HDF5 DataPlugin allows you to navigate through the HDF5 hierarchy, inspect meta data and load datasets and values.

 

To use HDF5 files in DataFinder and LabVIEW Storage VIs directly and to drag&drop load into DIAdem a tailored DataPlugin needs to be created, see HDF5_Example for details. 

 

Use the HWS DataPlugin in combination with the HDF5 DataPlugin to load NI-SCOPE HWS files.

 

A list of all DataPlugins can be found at ni.com/dataplugins.

0 Kudos
Message 1 of 4
(6,434 Views)

Hello,

 

I had no success reading .h5 files with the plugin for DIAdem.

The data was saved from Matlab 2016b, and I can read it with the HDFView software from www.hdfgroup.org

Reading the .h5-file with Matlab again is fine.

 

Is there a documentation about the defined data-structure of the .h5 files for reading them with DIAdem?

 

Thanks!

0 Kudos
Message 2 of 4
(3,897 Views)

Hi Flo,

 

The HDF5 DataPlugin is a Data Store type of DataPlugin, rather than the data file type that is ready for use with the DataFinder.  To use the HDF5 DataPlugin directly, you need to create a new Data Store in the DIAdem NAVIGATOR that points to a particular *.h5 data file and knows to use the HDF5 DataPlugin to read it.  The result will be that the entire tree view in the DIAdem NAVIGATOR is then used to show just the extended hierarchy in this one *.h5 file.  This is what is meant by a Data Store in DIAdem.  You can drag the last few hierarchy levels into the Data Portal to load them.

 

In practice most customers are eager to view their *.h5 data files normally, such that the DIAdem NAVIGATOR shows the Windows folder structure, and they can use the DataFinder to index and query the content of their *.h5 data files.  This is possible, but it requires the extra step of creating a post-processing DataPlugin that uses the Data Store HDF5 DataPlugin to read the *.h5 data files and then maps their contents to the 3 level TDM schema that DIAdem and the DataFinder expect.  The logic of that hierarchy condensing is defined in the post-processing DataPlugin, and you also have the ability to rename nodes and properties and filter which ones appear in the TDM schema delivered.

 

If you will post one of your *.h5 data files, I'll be happy to take a look.  I have a pretty standard post-processing DataPlugin that works most of the time for customer *.h5 data files.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 3 of 4
(3,853 Views)

We have updated the HDF5 Example with the


@Brad_Turpin ... pretty standard post-processing DataPlugin that works most of the time for customer *.h5 data files.

 

0 Kudos
Message 4 of 4
(3,772 Views)