LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

HDF5 in Labwindows/CVI

Anyone succesfully implemented HDF5 in Labwindows?  I am have a lot of troubling linking to the libraries succesfully...any tricks?
0 Kudos
Message 1 of 6
(3,714 Views)
I have never used HDF5 except under LabVIEW, but there is an issue that effects both.  The HDF5 libraries, as distributed by the HDF5 group, use the C calling convention, not the winapi calling convention.
0 Kudos
Message 2 of 6
(3,707 Views)

Hi TorsionAxion,

The Help file has great information in Programmer Reference >> Compiler/Linker Issues.  Also, there are several examples in Communicating with External Applications >> Using External Code >> Integrating DLLs.

 

Cheers,

David Goldberg
National Instruments
Software R&D
0 Kudos
Message 3 of 6
(3,690 Views)

Dear all,

 

I am wondering if there are specific steps regarding compiling HDF5 library in LabWindows/CVI properly.

 

I have downloaded this HDF5 file from this link: "http://www.hdfgroup.org/HDF5/release/obtain5.html", I chose the file "HDF5188-win32-static.zip",

 

wondering if this is the correct file for LabWindows/CVI, or is it just for  CMake VS 2008 C, C++, IVF 11.1 compilers.

 

Best,

Matt

0 Kudos
Message 4 of 6
(3,144 Views)
I use 32-bit LabWindows/CVI. Visual Studio 2012 Express and Visual Studio 2015 Community are installed in my C drive. I have downloaded HDF5 pre-build binary distribution from https://support.hdfgroup.org/HDF5/release/obtain518.html. https://support.hdfgroup.org/ftp/HDF5/current18/bin/windows/hdf5-1.8.20-Std-win7_32-vs14.zip After executing the HDF5-1.8.20-win32.msi file, hdf5.lib , hdf5.h and hdf5.dll files are installed at C:\Program Files (x86)\HDF_Group\HDF5\1.8.20. I try to add hdf5.h and hdf5.dll file into my CVI project. During "Generate DLL Import Library" process, "sys\types.h" is not found. I can't complete the generation process. Any suggestion? I can find "sys\types.h" in VS2012 directory C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include. I can't find the similar path in VS2015. Any help?
0 Kudos
Message 5 of 6
(2,381 Views)

Hi leetehui,

 

Since this thread is several years old, I'd definitely recommend posting this in a new thread and referencing this current one so that way it can get more general visibility!

Applications Engineering
National Instruments
0 Kudos
Message 6 of 6
(2,370 Views)