Hi Mirco, You might want to use HDF.PInvoke instead of HDF5DotNet. The latter is not being updated anymore, the former one is brand new and closer to the native c-API. Have a look at https://github.com/HDFGroup/HDF.PInvoke and https://www.nuget.org/packages/HDF.PInvoke/
Best regards, Detlef --- Detlef Sanchen Senior Software Engineer WITec GmbH Lise-Meitner-Str. 6, 89081 Ulm, Germany Phone: +49 (0)731 140 70-0, Fax: +49 (0)731 140 70-200 Email: [email protected]<mailto:[email protected]>, web: www.WITec.de<http://www.witec.de/> Join us on Facebook: www.facebook.com/witec.de<http://www.facebook.com/witec.de> WITec Wissenschaftliche Instrumente und Technologie GmbH; Geschäftsführer: Dr.Olaf Hollricher, Dr.Joachim Koenen, Dr.Klaus Weishaupt; Amtsgericht Ulm HRB 3507 From: Hdf-forum [mailto:[email protected]] On Behalf Of Mirco Carciani Sent: Freitag, 26. Februar 2016 10:13 To: [email protected] Cc: Prerna Bihani <[email protected]> Subject: [Hdf-forum] problem in reading hdf5 file into c# Dear developers. I am a newbie in the hdf5 world, but I'm really interested in learning how to work with it. I'm trying to read a .h5 file into C#. I have downloaded the HDF5DotNet reference and the required dlls in order to run my Visual Studio application. I bumped into some difficulties while reading the file, which for the majority of you would be just a simple routine. I attached a screenshot with the code and the result printed on screen. As you can see I get a strange result for the variable "Wrap" which should give me the value of the correspondent variable Ls in .h5 Ls is a scalar number with a value of 0.01 The actual value I want to get out is somehow hidden into it, but I was not able to access it. [cid:[email protected]] Does some of you know where I get it wrong? Thank you so much for your help. Looking forward to hearing from you. Best regards. Mirco Carciani [cid:[email protected]] Mirco Carciani PSDC/TSI Lyviksvägen 3 771 80, Ludvika, Dalarna, SWEDEN Phone: Mobile: +46 72 55 18 469 email: [email protected]<mailto:[email protected]>
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
