LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mass compile operation keeps on looping

Highlighted

hi,

when i do  a mass compile on my  project ,  it keeps on looping  during a save operation

 

and it does that may be a 50 times & eventually  ends also without error.

 

the curent file remains the same

 

 

 

 

0 Kudos
Message 1 of 8
(1,354 Views)
Highlighted

I've only seen this in projects in which I use LVOOP, I suspect that the whole class is reloaded and recompiled for each of its VI's call or something like that ; maybe though I'm just plain wrong (like often).

 

Anyway, whatever the reason is, it's pretty annoying and make me think twice before I mass compile a project.

I do consider posting an idea to improve the mass compile function.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 8
(1,347 Views)
Highlighted

Just as TiTou said: it looks like recompiling each VI which depend on any class hierarchy makes LV recompile each VI of this hierarchy, and then each VI of this class makes recompilation of each other VI, etc... As a workaround you can try closing the project and mass compile project folder from Tools->Advanced menu. I noticed this does not loop as much as there are not all dependencies loaded, but there are many more factors to this (i.e. how you managed libraries and classes dependencies). Furthermore, this might not give you exactly the same effect as mass compiling the project (same reason - not all dependencies are loaded).

Message 3 of 8
(1,342 Views)
Highlighted

Good catch!


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 8
(1,334 Views)
Highlighted

ya u guys r right

 

I am using LVOOP    in this project

 

any solution or workaround  in sight

0 Kudos
Message 5 of 8
(1,312 Views)
Highlighted
Hi, Maybe you have to change the instances of the class throughout your VIs. This is a time-intensive process, but there is no way to change all of the instances with one click of a button. The officially recommended process of renaming a LabVIEW class is listed here ( http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/renaming_files/ ). Because LabVIEW is such a high-level language, renaming files in Windows Explorer may lead to dependency issues. Regards, Julika Spitz
0 Kudos
Message 6 of 8
(1,171 Views)
Highlighted

How exactly changing the names of the classes would help in this case? 

0 Kudos
Message 7 of 8
(1,061 Views)
Highlighted

Sometimes this can solve problems, which occur when mass compiling, but musn't be the solution to this problem.

0 Kudos
Message 8 of 8
(1,034 Views)