05-01-2009 02:10 PM
I've seen some talk about HDF5 file format LabVIEW API for the C library - but all the talk is pretty old on the board.
Does anyone at NI or on the forum have familiarity with netCDF-4/HDF5 (HDF5 version 1.8.0) library and using it from within LabVIEW? Can you point me towards a LabVIEW API for netCDF/HDF5? I'd rather avoid having to write the wrappers for the C calls. 😄
I see mention of some of the NI Hardware shipping with limited support of HDF5 software, but I will need to dig into it more.
Any information in addition to what I have put down here would also be appreciated - I am just starting on the netCDF-4/HDF5 learning path...
05-01-2009 02:22 PM
NI-HWS, which ships with the modular instruments (scopes, arbs, etc.) and the analog and digital waveform editors is based on HDF5, but uses version 1.4.4. It is a simplified interface which makes it easier to use HDF5 for waveforms. There is an unsupported API here, but it is also 1.4.4. The HDF5 API changed from 1.4.x to 1.6.x in such a way that this API will not work with 1.6.x or greater. There have been several other APIs written, most recently by one of the frequent users of this forum, TonP. Hopefully he will notice this thread and chime in. A Google search for HDF5 and LabVIEW should show up one or two good hits.
If you end up needing to write the interface yourself, let us know. We can give you some hints. If you run into generic HDF5 issues, we can probably help a bit there, as well. HDF5 is difficult to learn, but worth the effort.