LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cant create LLB from folder

I have been having problems with saving VIs in LLBs. SO I have exploded my LLBs to directories. Now that I have recompiled them and try to put them back in an LLB it doesn't work.

The LLB Manager, selects the folder, I press the LLB<->Directory button and it thinks and nothing happens? Nothing seems to be created in any of the obvious directories or anywhere in my home folder. Anyone seen this problem? Anyone found a workaround?

Mac OS X, LV 8.20

LabVIEW ChampionLabVIEW Channel Wires

Message 1 of 2
(2,639 Views)
And I will reply to my thread!!!

There was a bug with the LabVIEW Spotlight Importer that caused symptoms like this. LabVIEW builds LLBs in the temp folder and then copies them to their final location, but the importer was somehow locking the files in the temp folder such that the file operations would fail.
(Spotlight Importer is part of the OSX TigerTools from NI)

AND

I believe there is another bug as well.

Labview is not correctly removing temporary files. If after every open and close of the llb file, I remove the temporary archive file then I can correctly open and save the items in the LLB.

So after each open and save of the individual files in the LLB. I issue the following command from the terminal

rm /private/var/tmp/folders.501/TemporaryItems/tarc25873633.llb

(or whatever it would be for your UID and archive number). When the archive was closed and updated, this temporary file should be deleted. It does not seem to be so.

If you manually remove it using the terminal, then you can successfully update the LLB. But you have to remove the temp file after each save and close!!!

This directory is NOT deleted upon a reboot so it can accumulate a lot of junk over time.

LabVIEW ChampionLabVIEW Channel Wires

Message 2 of 2
(2,618 Views)