NeXusDataFormat
1
NeXusCAPI
|
Functions | |
NXstatus | NXopen (CONSTCHAR *filename, NXaccess access_method, NXhandle *pHandle) |
Open a NeXus file. | |
NXstatus | NXreopen (NXhandle pOrigHandle, NXhandle *pNewHandle) |
Opens an existing NeXus file a second time for e.g. | |
NXstatus | NXclose (NXhandle *pHandle) |
close a NeXus file | |
NXstatus | NXsetcache (long newVal) |
A function for setting the default cache size for HDF-5. |
NXstatus NXclose | ( | NXhandle * | pHandle | ) |
close a NeXus file
pHandle | A NeXus file handle as returned from NXopen. pHandle is invalid after this call. |
NXstatus NXopen | ( | CONSTCHAR * | filename, |
NXaccess | access_method, | ||
NXhandle * | pHandle | ||
) |
Open a NeXus file.
NXopen honours full path file names. But it also searches for files in all the paths given in the NX_LOAD_PATH environment variable. NX_LOAD_PATH is supposed to hold a list of path string separated by the platform specific path separator. For unix this is the : , for DOS the ; . Please note that crashing on an open NeXus file will result in corrupted data. Only after a NXclose or a NXflush will the data file be valid.
filename | The name of the file to open |
access_method | The file access method. This can be:
|
pHandle | A file handle which will be initialized upon successfull completeion of NXopen. |
NXstatus NXreopen | ( | NXhandle | pOrigHandle, |
NXhandle * | pNewHandle | ||
) |
Opens an existing NeXus file a second time for e.g.
access from another thread.