LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling the share permission when writing a text file

Solved!
Go to solution

I have several application that writes a delimited text file to a file share.  Another application, not a LabVIEW application then reads the delimited text file.  When my application is creating and/or writing to the delimited text file, is there a way to manipulate the permissions so that no other application can read the file at the same time I'm writing to the file?  I can do this in Visual Basic via the FileShare (http://msdn.microsoft.com/en-us/library/system.io.fileshare(v=vs.110).aspx) option when creating filestream, but I don't see this option in LabVIEW.  Thanks.

0 Kudos
Message 1 of 2
(2,584 Views)
Solution
Accepted by topic author jpshaw

Nevermind.  I believe this can be accomplished with the "Deny Access" function.

0 Kudos
Message 2 of 2
(2,578 Views)