WaitForExclusiveFileAccess: Checks whether a file can be opened with exclusive access...

View source: R/RcppExports.R

WaitForExclusiveFileAccessR Documentation

Checks whether a file can be opened with exclusive access rights.

Description

WaitForExclusiveFileAccess checks whether a file can be opened with exclusive access rights. This function can be used when opening a data file that just finished recording in order to make sure that the recording application as well as the OS have finished writing to the file. Available only under Windows, returns TwError on other platforms.

Usage

WaitForExclusiveFileAccess(filename, timeoutMs)

Arguments

filename

Path/filename of the HDF5 file.

timeoutMs

Timeout (in ms) after which the function returns.


pasturm/TofDaqR documentation built on March 29, 2024, 12:10 a.m.