> > Message: 3 > Date: Tue, 27 Sep 2011 13:17:26 -0400 > From: "Mitchell, Scott - IS" <[email protected]> > To: HDF Users Discussion List <[email protected]> > Subject: Re: [Hdf-forum] H5F.flush from HDF5DotNet? > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > There is an H5Fflush function, but it is currently not in HDF5DotNet. But it > is pretty easy to add. Take a look at H5F.cpp. Duplicate what's done for > H5F::close, but call H5Fflush instead. You'll need the function, the > DllImport statement, and the declaration in the header.
Scott, Thank you for the confirmation that I wasn't barking up the wrong tree. As you said, it's easy to add to the wrapper. Is there a ticket to bring back H5F.flush so that the prebuilt binaries contain it in future versions? Cheers, Barry > > > Scott > >> -----Original Message----- >> From: [email protected] [mailto:hdf-forum- >> [email protected]] On Behalf Of Barry Wark >> Sent: Tuesday, September 27, 2011 11:59 AM >> To: [email protected] >> Subject: [Hdf-forum] H5F.flush from HDF5DotNet? >> >> Hi .Net folks, >> >> Is there any way to flush an open file from HDF5DotNet (1.8.7) without >> closing the file? We are using HDF5 for a scientific data acquisition >> application and would like to force data to be written to disk after >> each "trial" while keeping the file (and the group where the data is >> placed) open. For posterity, there's a StackOverflow question about >> this too (http://stackoverflow.com/questions/6153063/h5f-flush-removed- >> from-hdf5dotnet-1-8-7), >> so an answer there would be greatly appreciated as well. >> >> Thank you, >> >> Barry >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > This e-mail and any files transmitted with it may be proprietary and are > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this e-mail in error please notify the sender. > Please note that any views or opinions presented in this e-mail are solely > those of the author and do not necessarily represent those of ITT > Corporation. The recipient should check this e-mail and any attachments for > the presence of viruses. ITT accepts no liability for any damage caused by > any virus transmitted by this e-mail. > > > _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
