01-09-2013 08:45 AM
I've been working with the dataplugin examples for HDF5, as found here:
http://zone.ni.com/devzone/cda/epd/p/id/6547
and
http://zone.ni.com/devzone/cda/epd/p/id/6546
HDF stores data and associated metadata. Metadata is call "Attributes" in the HDF nomenclature.
We can load all the data channels, and the associated attributes show up as channel properties. This is perfect.
Our files also have file-level Attributes. I would like those to load as Root properties.
The example doesn't do that. I'm wondering if anybody has made that work.
01-10-2013 04:24 PM
Hello jbrandim,
Could you post a sample file showing both the file-level attributes you want to import along with the data and metadata?
01-14-2013 06:35 AM
Jacob,
Here is simple example. It has only three header attributes:
FACILITY_CODE_GLOSDS
JOB#JOB_NUMBER_GLOSDS
RUN_NUMBER_GLOSDS
The values are:
1957
DEV001
SC
In practice, there may be many header attributes. I would like access to any that might be there. The channel attributes all show up properly when using the Example plugin.
01-16-2013 11:48 AM
Hi Jeff,
I've forwarded your *.h5 data file on to R&D-- I agree that the HDF5 DataPlugin appears to be ignoring those header properties in the *.h5.
Brad Turpin
DIAdem Product Support Engineer
National Instrumets
01-25-2013 03:37 PM
Hi Jeff,
R&D has reproduced the file property reading problem with your data files and has verified that a newer HDF DLL resolves that problem. The intend to release an updated HDF5 DataPlugin in the enxt month or two that will have this fix in it.
Thanks for your feedback and (hopefully) patience,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-28-2013 07:19 AM
Brad,
Thanks, that will be great. We have about 20 years of data in HDF formats. This will make it a lot easier for our users to analyze with Diadem.
03-08-2013 07:57 AM
Hi Jeff,
R&D has updated the HDF DataPlugin to parse the File properties, and I now see those 3 properties you listed in DIAdem. If you have so many of those data files, perhaps you would appreciate the post-processing DataPlugin I'm attaching. The "H5_TDM" DataPlugin reduces the hierarchy levels of the HDF5 data file down to just the 3 TDM levels so that you can index the HDF5 files with the DataFinder. This gives you the ability to query on those File properties and any others in the file using the standard query form in the NAVIGATOR, as well as look inside the files in the tree view and selectively load only the channels you want, or even load the channels with data reduction.
You need to download and install the new HDF5 DataPlugin from this web page before installing the "H5_TDM" DataPlugin:
http://zone.ni.com/devzone/cda/epd/p/id/6546
Brad Turpin
DIAdem Product Support Engineer
National Instruments