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 6
(8,584 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 6
(6,047 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 6
(6,003 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 6
(5,922 Views)

Hi StefanR and Brad_Turpin or anyone else :-),

i tried to instrall the HDF5 Example through the data plugin installation window -> I get an immediate error there
As alternative approach I installed the latest HDF Group DataPlugin for HDF5 2021 Q4 from the NI homepage -> that worked, but i still cannot load hd5f files...

Do you have any other suggestions?

Thanks for your reply

0 Kudos
Message 5 of 6
(1,843 Views)

Hi Gregor,

 

What is the error you're getting?  Does it really occur when you try to install/register the HDF5 Example DataPlugin?

 

I actually prefer the H5_TDM DataPlugin, which is also available for download, but since you're having trouble with that, I'm attaching the H5_TDM.uri file here.  You just need to download the *.uri file to the computer where you have DIAdem installed, then double-click it in Windows Explorer.

 

Note that both the HDF5 Example DataPlugin and the H5_TDM DataPlugin internally call the "HDF5" DataPlugin, so that has to also be installed/registered.

 

Brad Turpin

Principal Technical Support Engineer

NI / Emerson

0 Kudos
Message 6 of 6
(1,808 Views)