LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do my Vi is executable in the .lbb folder and not in the .Vi file?

In Folder1, I have a program toto.VI and a program toto.lbb with all subVis. Toto is executable in the .lbb folder but  toto.Vi is not executable. The error message is:
 
C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\vision\Files.llb\IMAQ WriteFile.vi" was loaded from "C:\Program Files\National Instruments\LabVIEW 7.0\LabVIEW Programs\Folder1\IMAQ WriteFile.vi"?
 
Do you know why this happens? Thanks
0 Kudos
Message 1 of 7
(3,488 Views)
All that warning is telling you is that particular VI was loaded from a different location on your hard drive than where it expected to find it. Unless the VI it found is different than the one it expected to find, you should still be able to run your VI.

What it looks like you did was save everything, including the vi.lib files to a library. That's not something you usually want to do. It causes duplicates of subVIs and causes problems like this.

Try rebuilding the library but don't include the vi.lib files and see if that takes care of the problem.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 7
(3,482 Views)
Thank you. Do you know how to include a Vi in an existing .llb?
0 Kudos
Message 3 of 7
(3,455 Views)
Use the VI Library manager. Located in the menu bar under tools



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 7
(3,454 Views)

Thanks. When I run my toto.Vi, I have a warning message/ saver.Vi: subVi expected to be at (C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\vision\Files.llb\IMAQ WriteFile.vi) was loaded from (C:\Program Files\National Instruments\LabVIEW 7.0\LabVIEW Programs\jkr-2003\IMAQ WriteFile.vi). I then added the subVi to the Files.lbb (using Vi library manager) and deleted it from jkr-2003. Now I have another warning /enum.Vi: subVi expected to be at (C:\Program Files\National Instruments\LabVIEW 7.0\LabVIEW Programs\jkr-2003\IMAQ WriteFile.vi) was loaded from (C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\vision\Files.llb\IMAQ WriteFile.vi).

 If I have the subvi in both locations (Files.lbb and jkr-2003), I still have the warning /saver.Vi: saver.Vi: subVi expected to be at (C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\vision\Files.llb\IMAQ WriteFile.vi) was loaded from (C:\Program Files\National Instruments\LabVIEW 7.0\LabVIEW Programs\jkr-2003\IMAQ WriteFile.vi)

Do you know what I should do? Thanks

0 Kudos
Message 5 of 7
(3,442 Views)
If you just save the vi's and restart Labview what happens ?

Suspect that you errors will not appear.
If they do then possible that you have not saved all vi's.

To include a vi from another LLB just right click on Block diagram VI that you wish to
replace and use r replace command==> select VI ==> navigate to desired LLB ==> click on LLB
and select appropiate VI. Remember to save VI's. Restart Labview. Necessary to restart Labview so that all memory is cleared.

Chow
xseadog
0 Kudos
Message 6 of 7
(3,436 Views)
As Ed mentioned, you should not include functions from vi.lib in an llb. You should be deleting them from the llb and not trying to add more. It also sounds like you've messed up your installation of LabVIEW if you are copying files from the llb you created to an llb that is in the LabVIEW directory. Reinstall Vision and delete the duplicates from custom llb is what I would recomend. The next time you create an llb, do not check the "Include vi.lib files" box.
0 Kudos
Message 7 of 7
(3,431 Views)