Owning Palette: Advanced File VIs and Functions
Requires: Base Development System (Windows)
Reopens the instance of the file specified by refnum to temporarily change what read or write access is denied to other refnums, VIs, or applications.
Add to the block diagram | Find on the palette |
refnum is the file refnum associated with the file you want to deny access to. | |||||||
deny mode specifies what read or write access is denied.
|
|||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
refnum out returns refnum. | |||||||
error out contains error information. This output provides standard error out functionality. |
This function temporarily overrides permissions for a specific instance of the file. This function does not modify permissions for the file itself. When you grant access to an instance of a file, LabVIEW removes the override caused by denying access to the file so that the file permissions and the deny mode associated with refnum determine whether other refnums, VIs, or applications can read from or write to that instance of the file. After the file refnum is closed, the permissions for that instance of the file are no longer overridden.
Note You cannot deny access to a datalog file. |