LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems Saving my VI's

Hi,

every time I want to save my application it takes almost one minute, until it's done, sometimes even longer. I don't know what the problem could be, but I noticed that some sub-vi's, which I converted from LabVIEW 5.1 to LabVIEW 6 take a long time to save.

Another thing is that if I have a lot of indicators in my vi's, the size of the vi increases a lot. I think that could affect the saving time as well, but anyways, it's just an indicator. I deleted 4 indicators in a sub-vi and the size of the vi decreased by almost 4 MB!!

Or is the saving problem caused by my computer-system itself (virtual memory or whatever)?

Can anybody help me?

Thanks a lot ...

Gernot
0 Kudos
Message 1 of 6
(3,388 Views)
Are the indicators customized or are they the standard indicators?

The time for saving the VIs will take longer for big files, which is understandable since it sounds like you have big files.

Do you have bitmaps associated with the VIs? Bitmaps also cause VIs to increase in file size.

Shan Pin Koh
0 Kudos
Message 2 of 6
(3,388 Views)
Hi, thanks for your quick answer.

They are standard indicators, 2D Arrays mostly. It seems to me, that the data in these indicators are saved, too, right? Well, they just increase the size of the vi, which is not really a problem. I need the indicators for debugging, I'll delete them, when the work is done or I can re-create them if I need to. But the indicators do not affect the saving time that much.
The vis that take a while to save are for serial communication, could that be a reason?

thanks a lot ...

Gernot
0 Kudos
Message 3 of 6
(3,388 Views)
If you make the arrays data to default to the current value, then they will be saved with the VI. Even then, that shouldn't take much space as these data are small.

Check your VI Properties, under Memory Usage. If the 2D array is the problem, you'll see that the "Front Panel Objects" memory usage to be high. See what is using most of the memory usage.

Shan Pin Koh
0 Kudos
Message 4 of 6
(3,388 Views)
That is right. You might try emptying the arrays (you will probably have to do this programatically), or delete the indicator and then rebuild it with an new (and thus empty) array. Make this value default and save. This should solve the size problem.
0 Kudos
Message 6 of 6
(3,388 Views)
Are you saving your vi's in a large library? It was taking me minutes to save my vi's in a .llb, but once I took them out of the library and put them in a directory it only tooks seconds to save. I believe their are example vi's on this site that will convert a .llb to a directory for you.

pat
0 Kudos
Message 5 of 6
(3,388 Views)