03-18-2009 01:27 PM
I'm trying to use SVs in my app. I build an exe using app builder. When I run my VI from the project, it works fine. When I run from the app exe, I get an access denied error (-2147024891) trying to write a value to a SV. My SV lib is hosted on my computer (it's a local SVE). I've disabled autodeploy and my VI calls deploy library on the lvlib file before I try to use it. What could I be dong wrong?
03-19-2009 05:09 PM
Hi knicewar!
Thank you for posting on the discussion forums! What are you refering to when you say SVs? Here is a KnowledgeBase article discussing the same error, although I am not sure it will be a direct application to your VI, since I am unsure what you mean by SV.
Kristen H.
03-19-2009 10:24 PM
03-20-2009 09:45 AM
Yes, sorry -- I should have defined my terms. SV = shared variables.
I finally got this to work by deleting the write SV VI call and adding it back.
That shouldn't have fixed it but it did ...