LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excell open file gives me file permission error 8 in LV

Hello,

I'm making a save file ( TXT ) that could be accessed by other programs! Now when i try to test it with Excell but I always get the file permission error 8 in Labview!

Could this be a problem, or is the file accessible in other programs. But not in Excell because it has it opened all the time! How can i solve this ...


Can someone help me on this ... Thanks in advance
0 Kudos
Message 1 of 3
(2,782 Views)
Are you trying to overwrite the file. If you try to overwrite the file, then you must close the file that you want to overwrite. Otherwise it will cause an error. Or maybe other program are accessing your file.
------------------------------------------------------------------
When you feel sad, laugh
Message 2 of 3
(2,782 Views)
> I'm making a save file ( TXT ) that could be accessed by other
> programs! Now when i try to test it with Excell but I always get the
> file permission error 8 in Labview!
>

Some applications lock access to a file when they open it. On some of
the more advanced LV File Open functions you may notice something called
a deny mode. Anyway, my guess is that once Excel opens the file, it
opens it for read/write, and states that nobody can open it for write
purposes. Your LV program will probably be able to complete the open if
you change it to open read-only, or you can figure out how to modify the
open in Excel to open read-only and allow others to write to the file.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,782 Views)