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.
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.
04-24-2022 02:38 PM
I have a vi that accesses and writes to a configuration file in the default data directory. The compiled version works. But the executable gives the following error:
---------------------
Error 8 occurred at Set File Size in NI_LVConfig.lvlib:Save Config File.vi->NI_LVConfig.lvlib:Close Config Data.vi-> (name of my vi).
Possible reason(s) ...File permission error. You do not have the correct permissions for the file======DMA hardware error detected.
----------------------
I have disabled the firewall and the same error appears.
Any ideas on what the problem is?
Solved! Go to Solution.
04-24-2022 04:49 PM
@tjw2 wrote:
I have a vi that accesses and writes to a configuration file in the default data directory. The compiled version works. But the executable gives the following error:
---------------------
Error 8 occurred at Set File Size in NI_LVConfig.lvlib:Save Config File.vi->NI_LVConfig.lvlib:Close Config Data.vi-> (name of my vi).
Possible reason(s) ...File permission error. You do not have the correct permissions for the file======DMA hardware error detected.
----------------------
I have disabled the firewall and the same error appears.
Any ideas on what the problem is?
Yes. You don't have the correct permissions for the file. Maybe LabVIEW has permission to use that folder, but a "normal user" does not?
04-24-2022 07:27 PM
Thanks for the reply but I had full permissions. It turned out that even when I turned off the firewall in Norton 360, it still prevented access. I had to 1) make sure that Norton was set to report and files it blocked, 2) click the link in the report to get details, 3) click another link to get information about the file, and 4) click the "trust this file". Now it's working.
04-24-2022 07:28 PM
I found the problem. It was Norton 360 (even though I had turned off the firewall). See my reply to Bill for a further description.
04-24-2022 08:21 PM
@tjw2 wrote:
Thanks for the reply but I had full permissions. It turned out that even when I turned off the firewall in Norton 360, it still prevented access. I had to 1) make sure that Norton was set to report and files it blocked, 2) click the link in the report to get details, 3) click another link to get information about the file, and 4) click the "trust this file". Now it's working.
Wow! Make sure to mark your post as the solution! 🙂
04-25-2022 01:59 AM