LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i mark a .vi so it's ignored by mass compile?

Solved!
Go to solution

Hi

 

I am in the progress of updating an old project to LV 2013 and my mass compile shows this:

 

#### Starting Mass Compile: 7. aug 2015 10:00:10
  Directory: "C:\MyLabviewProgram"
  ### Bad VI: "VI Tree.vi" Path="C:\MyLabviewProgram\VI Tree.vi"
#### Finished Mass Compile: 7. aug 2015 10:00:53

 

That .vi will ALWAYS fail (I hope you can guess why Smiley Wink ). 

This project only has one .vi that is "failing as intended", some of the other projects I'm about to upgrade have alot more.

 

Is there a way to tag / mark a file so mass compile will ignore it altogether?

 

/Palle

0 Kudos
Message 1 of 8
(4,053 Views)

I just ignore them in the report.  But the only way I know of to not have a VI involved in the mass compile is to move it out of the directory structure that you are mass compiling.



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 2 of 8
(3,997 Views)

@PalleM wrote:

Hi

 

I am in the progress of updating an old project to LV 2013 and my mass compile shows this:

 

#### Starting Mass Compile: 7. aug 2015 10:00:10
  Directory: "C:\MyLabviewProgram"
  ### Bad VI: "VI Tree.vi" Path="C:\MyLabviewProgram\VI Tree.vi"
#### Finished Mass Compile: 7. aug 2015 10:00:53

 

That .vi will ALWAYS fail (I hope you can guess why Smiley Wink ). 

This project only has one .vi that is "failing as intended", some of the other projects I'm about to upgrade have alot more.

 

Is there a way to tag / mark a file so mass compile will ignore it altogether?

 

/Palle


Why should we see why that VI will fail? Before there were projects I always used a VI Tree.vi and made always sure that it had no broken arrow. Not a big deal really.

 

I'm not aware of any flag or setting to exclude a VI from Mass Compile and don't really think it exists.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 8
(3,988 Views)

 

@rolfk: I can't remember seeing a VI tree not broken. Download instrument drivers for N5700 from Agilent (now Keysight) as an example.  

 

 

/Palle

0 Kudos
Message 4 of 8
(3,915 Views)

@PalleM wrote:

 

@rolfk: I can't remember seeing a VI tree not broken. Download instrument drivers for N5700 from Agilent (now Keysight) as an example.  

 

 

/Palle


Mine never are broken! The only reason they usually are broken is because the required input connections are not wired.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 8
(3,901 Views)

Yeah, but I'm not gonna start wiring up VI trees for downloaded instrument drivers, which is why I wanted to know if they could be tagged or marked for exclusion. 

 

Anyways, thank you for your input

 

/Palle

 

0 Kudos
Message 6 of 8
(3,887 Views)
Solution
Accepted by topic author PalleM

Place the content of the VI tree in a disable case. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 7 of 8
(3,843 Views)

@Yamaeda wrote:

Place the content of the VI tree in a disable case. 🙂

/Y



Not the solution i was looking for, but it's fast and easy 🙂  

 

Thanks

 

/Palle

 

0 Kudos
Message 8 of 8
(3,787 Views)