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.
05-16-2017 07:13 AM
I inherited an application that was originally created with LabVIEW version 8.6 for a Windows XP system but I am updating it with LabVIEW 2014 for a Windows 10 system.
It all works except for one section where an Open VI Reference Function is used and later
a RUN VI RUN VI Method is used.
This works fine with the version 8.6 application but with the 2014 version, I am getting an Error 1000.
Is this caused by a bug with version 2014?
Any ideas on how to fix this problem?
Thnaks
Here is what the this part of the application looks like:
Solved! Go to Solution.
05-16-2017 07:15 AM
Have you compiled that "plugin" VI with LV 2014?
05-16-2017 07:17 AM
Thanks for the quick reply...
Which "plugin" VI?
05-16-2017 07:25 AM
Not quite which plugin Vi to compile or how to do that...
Is this done by itself and before the project build?
thanks
05-16-2017 07:31 AM
The VI you load with Open VI Reference is the one i am referring to. This has to be compiled in LV 2014 as well in order to work correctly.
However, thinking about the error message, it should be a different one if it's in a wrong version.
Are you running the stuff in the LV Development Environment?
What happens if you manually load the VI?
05-16-2017 07:37 AM
I would also check Windows file permissions. XP was a lot more forgiving about files on root. Win 10 really will not make it so simple to use protected areas.
05-16-2017 07:41 AM - edited 05-16-2017 07:44 AM
can it be that your called vi is broken?
or like this doc suggest a reference is still open and not closed
http://digital.ni.com/public.nsf/allkb/DE45BD35AFE818E2862565FB00592B31
05-16-2017 07:55 AM
Thanks Norbert
I am now running this in the 2014 LabView Development Environment (LDE) but it was failing
in the version 2014 built executable which is why I am now looking at it with the LDE...
The VI will load and run without problems by itself and also when built with LabVIEW v 8.6 and called
from that built executable.
I did some reading up on Error 1000, and read that this error usually indicates that the VI is already
running when called but this is does not appear to be the case with my application.
The same error will occur if the targeted VI is not running, but is reserved for running when a reference to it is
opened using the Open VI Reference function with a strictly typed VI Refnum wired to the type specifier
VI Refnum input.
I am not using the type specifier to call the VI while using a Call By Reference Node, and as I understand it, the
VI is not reserved for running.
and that is as far as I got with it...
05-16-2017 08:00 AM
Thanks Jeff-
I checked the file permissions by removing read only settings for all files in the folder but this didn't help.
Is that what you meant?
05-16-2017 08:00 AM
@robojeff wrote:
Thanks Norbert
I am now running this in the 2014 LabView Development Environment (LDE) but it was failing
in the version 2014 built executable which is why I am now looking at it with the LDE...[...]
So in the DevEnv everything works as expected?
If so: What is inside that VI(s) you call here?
I can imagine that you have a licensing issue when using packages which require an activation of a license....