From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I check the open-mode of an opened file from the file refNum?

How can I check the open-mode of an opened file from the file refNum?

Especially whether a file is opened as read-only or write-only? I haven't found any VI in the panel with file VIs.

Thanks for any hints!

0 Kudos
Message 1 of 2
(2,136 Views)

Check this post. Probably you can use a kernel.dll call.

 

http://forums.ni.com/t5/LabVIEW/file-date-created/m-p/109836

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