03-06-2013 03:39 AM
Hi,
I am using labview to read a text file, also there is one more software(not lab view) is writing to the same file which I am using to read.My problem is that ,is it possible to read a file which is already openned by another software ?
Thanks,
Sachin Kudari
03-06-2013 04:08 AM
Hi Sachin,
that depends on that other software...
- When writing to a file usually it is opened with exclusive access rights to the writing software. No other software can open the file simultanously.
- The file may be opened with non-exclusive access by the writing software. Then LabVIEW may access the file too.
- The file may be opened with exclusive access rights by the writing software for each write access and released when write access is finished. Then LabVIEW may open the file in parallel, but errors may occure for simultanous file access from both parties...
It's never a good idea to share one resource (your file) for several requests (your different executables). It may work (with several conditions), but it doesn't need to.
03-07-2013 12:19 AM
Thank you for the reply.
I will try it.
Regards,
Sachin Kudari