LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Block diagram editing slow

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.

Thanking you,
Sushmith
0 Kudos
Message 1 of 48
(4,776 Views)

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.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 48
(4,769 Views)

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.

0 Kudos
Message 3 of 48
(4,764 Views)

Hi,

 

     Sorry, posting vi is not possible. what do you mean by redundant code? Almost everything is needed. 

Thanking you,
Sushmith
0 Kudos
Message 4 of 48
(4,760 Views)

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..?? 

Thanking you,
Sushmith
0 Kudos
Message 5 of 48
(4,756 Views)

"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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 48
(4,755 Views)

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.

0 Kudos
Message 7 of 48
(4,748 Views)

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.)

 

 

0 Kudos
Message 8 of 48
(4,717 Views)

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. 

Thanking you,
Sushmith
0 Kudos
Message 9 of 48
(4,668 Views)

@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 ?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 10 of 48
(4,664 Views)