05-25-2013 07:02 AM
Hi everyone,
I'm using LabView Full Developement system 2011, My laptop has 2GB RAM, intel i7 processor.
I even would like to mention that my block diagram is kind of big and vi file size has become 4.8MB. Now, the editing has become so slow that connecting a wire takes appoxly 2mins and saving takes 5 to 10 mins sometimes. I'm fed up with this. Please tell me the reason why it is acting so? It is seriously a big issue when I have so much to create/edit in my block diagram.
05-25-2013 07:10 AM
Try to remove the redundant code. As you say VI size is 4.8 mb. That is actually huge.
Is it possible to post the VI ?
Thanks.
05-25-2013 07:15 AM
It is due to the size of your block diagram.
Try to make more sub vi's and keep your block diagram to a size that fits only one screen with no scrolling.
You will get into problem later if you do not make your block diagram smaller now. Your vi can get corrupted very easy when they are so big.
And for a side note, it is also bad development practice to have a vi that big.
05-25-2013 07:16 AM
Hi,
Sorry, posting vi is not possible. what do you mean by redundant code? Almost everything is needed.
05-25-2013 07:25 AM
Hi dkfire,
Yes I should have reduced the size earlier. but unfortunately couldn't. Once the exe file is created, then will the size affect..??
05-25-2013 07:28 AM
"Redundant" meaning "Duplicated".
Your problem is your VI is way to big. You need to break up your code into subVIs. Any code that you find being repeated is a perfect canidate for a subVI.
05-25-2013 07:47 AM
You can always reduce the size of the block diagram. Just make some sub vi's.
Try to show us some pictures of your vi, maybe of the navigator window.
And I will warn you again, if you keep your big block diagram, your vi will be a candidate for corruption.
A corrupted vi can't be salvaged, so take back up of your vi offen.
05-25-2013 04:54 PM
There is no way this is normal. Editing should always be nearly realtime. Maybe there is something wrong with your VI.
What are the compiler optimization settings (Tools...Options...Environment,,scroll to bottom). Not sure if they were available in 2011.
How big is "kinda big"? Do you have many inlined subVIs? If you go to "VI properties...Memory usage" do you see a number for "Compiled Code Complexity (again not sure if you have that in 2011). Can you take a snapshot of that properties page and attach it here?
Do you have indicators with tons of data (huge chart history length, etc.)
05-27-2013 03:52 AM
Hi everyone,
As you people said size of the block diagram may be creating problem. Now i'm going for creating SubVi. The problem was I didnt know head and tail of LabView and I was concentrating only on the task. Now I got to know how to create subvi. So edit my vi in such a way that its size reduces.
05-27-2013 03:59 AM
@sushmith_ks wrote:
Hi everyone,
As you people said size of the block diagram may be creating problem. Now i'm going for creating SubVi. The problem was I didnt know head and tail of LabView and I was concentrating only on the task. Now I got to know how to create subvi. So edit my vi in such a way that its size reduces.
But where is the VI ?