annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

lvlib disassociation

Risolto!
Vai alla soluzione

I have a bunch of vis and they are associated with several lvlib files.  I decided to delete the lvlib files.  Is there a way to delete all the association without opening every vi that has an association?

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Messaggio 1 di 10
4.229Visualizzazioni
Soluzione
Accettato da autore argomento jyang72211

Hmm....

 

Something like that?

 

Snippet.png

Messaggio 2 di 10
4.215Visualizzazioni

This is beatiful.  How do you surpass the open function from trying to load files, since some of the files doesn't exist anymore?

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Messaggio 3 di 10
4.206Visualizzazioni

Hint: Look in the File I/O -> Advanced File Functions palette. Go ahead. Try.

0 Kudos
Messaggio 4 di 10
4.198Visualizzazioni

Ahhh!  It worked, but something bad happened.  For each vi, there are many subvi in it.  The subvis are still associated with the libraries that are no longer.  How do I fix that??  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Messaggio 5 di 10
4.187Visualizzazioni

I looked all over in advance file operation, but can't find it.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Messaggio 6 di 10
4.186Visualizzazioni

 


@jyang72211 wrote:

I looked all over in advance file operation, but can't find it.


http://zone.ni.com/reference/en-XX/help/371361F-01/glang/check_if_file_exists/

 

0 Kudos
Messaggio 7 di 10
4.179Visualizzazioni

 


@jyang72211 wrote:

Ahhh!  It worked, but something bad happened.  For each vi, there are many subvi in it.  The subvis are still associated with the libraries that are no longer.  How do I fix that??  Thanks!


You would need to do the same thing with the directories where those subVIs are.

 

0 Kudos
Messaggio 8 di 10
4.174Visualizzazioni

I did the same thing to the subiv, but that didn't fix the problem.  The Main VI is still tryin got find the subvi assoicated with lvlib.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Messaggio 9 di 10
4.131Visualizzazioni

 


@jyang72211 wrote:

I did the same thing to the subiv, but that didn't fix the problem.  The Main VI is still tryin got find the subvi assoicated with lvlib.


Well, another way to do it - in project. Open your project (which contain Main.vi and lvlib with all files) then select all files within lvlib and drag these files out of lvlib. Then select File->Save all. That it.

 

0 Kudos
Messaggio 10 di 10
4.114Visualizzazioni