12-15-2011 07:45 AM
Hi,
check the hierarchy of the SimpleError Handler.vi in your project directory as it goes quite deep. Checkout Get Text Rect.vi and error Code Database.vi as these are password protected. They should be all going to the vi.lib and the correct version of the vi.lib.
12-15-2011 07:53 AM
Yes, they are both in the correct path.
01-10-2012 09:24 AM
Hi,
happy new year to everyone.![]()
Does someone have any new ideas this year? 🙂
Thanks for each tip.
02-01-2012 11:51 AM
I could minimize my project to reproduce the problem up to a single llb-file. The problem occured now when having this llb and my teststep-vi in the same directory and running the sequence with labview-runtime-adapter.
I got the solution with the help from @Ballington who checked the llb and found the problem:
"After looking at the LLB more closely, I believe I have found the problem. The LLB contains a VI called clear errors, which looks like is it a direct copy of the clear errors VI in vi.lib.
Deleting this VI from the LLB or force compiling it (ctrl + shift + run button) fixed the issue.
This behavior is occurring because the clear errors VI is a dependency of the simple error handler. If the VI you call in your sequence and the LLB are in the same directory, LabVIEW looks to the LLB to load the clear errors instead of the expected location within vi.lib.
This version of clear errors is not compiled in LabVIEW 2011, so the LabVIEW runtime engine is unable to load the VI, and returns the "VI not executable" error.
With the development system adapter, LabVIEW automatically recompiles the VI, which is why you don't see the behavior in that case.
I would recommend deleting this additional copy rather than force compiling, since it is not good practice to maintain copies of vi.lib VIs."
02-01-2012 12:57 PM
glad you sorted it. ![]()