LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing VIs from vi.lib in project

Solved!
Go to solution

I am planning to use FPGA to do SPI communication via a module for the cRIO.  I downloaded the SPI package found here ("spi_single_port_example.zip").

 

However within the project, I seem to be missing some dependencies that should be located in vi.lib:

 

missing.jpg

 

Does anyone know how I can fix this?  I originally thought I might be missing a library or something, but searching around for the VIs named in the red box above turned up no obvious results.  Any suggestions would be very welcomed!

 

Thanks in advance for any help! 😄

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos!
0 Kudos
Message 1 of 5
(3,622 Views)

It seems that you have used those VIs and later you have moved/renamed/deleted files from the original location. Just right click the missing VIs and find out why they are in dependency list.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 5
(3,614 Views)

P@Anand wrote:

It seems that you have used those VIs and later you have moved/renamed/deleted files from the original location. Just right click the missing VIs and find out why they are in dependency list.


They are part of the Host VI of the project.  But it seems like my entire vi.lib path is somehow off in this project.  My entire palette seems to be blank from within this project:

 

blankpallete.JPG

 

Is there a hardcoded place where projects store the path to .../program files/national instruments/LabVIEW 2013/vi.lib or similar?  Perhaps I just need to redirect the project's search path?

 

 

EDIT 1:

 

If I make modify/create a VI under the My Computer hierarchy in the project, my palettes show up fine.  However if I try to modify/create a VI under the cRIO target, all of my palettes are blank...  Does the cRIO require a special library of VIs?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos!
0 Kudos
Message 3 of 5
(3,606 Views)
Solution
Accepted by topic author MrHappyAsthma

So you have developed the code in the Host environment and directly moved them to the Target. RT Targets doesn't allow all the features that you were able to do in Windows environment, and so RIO will have very few option.


Your pallet will be empty when you create a VI out of your target. Do you really need those VIs in your target?

-----

The best solution is the one you find it by yourself
Message 4 of 5
(3,588 Views)

P@Anand wrote:

So you have developed the code in the Host environment and directly moved them to the Target. RT Targets doesn't allow all the features that you were able to do in Windows environment, and so RIO will have very few option.


Your pallet will be empty when you create a VI out of your target. Do you really need those VIs in your target?


I moved the Host VIs off of the RT target and into the local My Computer hierarchy.  That seems to have fixed my issue 😄  Pictures of the adjustments below for anyone with similar problems:

 

OLD:

 

old.jpg

 

 

NEW:

 

new.jpg

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos!
Message 5 of 5
(3,585 Views)