04-13-2009 12:35 PM
Hello,
I am getting "Error 7" from the "Open VI Reference" vi, the name of the vi is wired vi path input. The "Error 7" means that the vi cannot be found. So I went to "Tools ===> Options ===> Paths" and modified the Path so that Labview can find it. But for reasons I do not understand the vi I want to get a reference for cannot be found. So it leads me to beleive that the "Open vi Reference" does not use the path option to find a vi. Any ideas what is going on?
Solved! Go to Solution.
04-13-2009 01:15 PM - edited 04-13-2009 01:19 PM
"If you wire a name string, the string must match the full delimited name of a VI in memory on that target"
If the vi is in the same folder i think Labview will find it.
If you know the path just wire the full path.
If you still have problems please post a screenshoot and additional info (where is the vi you want to load.)
04-13-2009 01:26 PM
Hello,
Thanks for getting back to me. I have attached a file fo the screenshot of the Block diagram. The "Open Vi Reference" is in the upper left hand corner, which generates a error when I have updated the path options to point to where the file exists.
04-13-2009 01:30 PM
You are using a relative path. As the help states for the Open VI Reference VI:
If the path is relative, the VI interprets the path as relative to the caller VI or to the application directory, if the caller VI is not saved.
The search path is not used for that function. If the VI is not in the "relative to the caller VI" location, then you must provide a full path.
04-13-2009 01:41 PM
Hello,
Thanks for getting back to me. The code I am working with I have inherited from someone else who know longer works here, so I have to figure it out. The original library and the vi in the library, so the "Open VI Reference" found it. The version of the library I am working with does not have the vi in the library so it looks like I have 2 choices. Fully qualify the path to the vi....or....add the file to the library that I am using. So the adventure continues.......
thanks for your help!
04-13-2009 02:25 PM
Hello,
Well I added the the vi to the library and presto ...the code works! Thanks again for your help and I have kudod every response that someone has made!