LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separate Compiled Code from source disabled, why?

Solved!
Go to solution

I have run into an issue and would like to know if there is a reason it happens or is this a bug. Basically we separate the compiled code from all of our source to make working with source code control more efficient. I have run into an issue where some files have the option grayed out and disabled. The option to separate the compiled code is disabled and the ability to change this setting itself is disabled. The option cannot be changed using scripting either. The strange thing though is if you copy all of the code in the block diagram and paste it into a new VI the option can be changed on the new VI. Is there a reason that this option becomes disabled? Is this simply some type of corruption of the original files that prevents it? Is this a bug?

 

I am currently working with LV 2011.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 1 of 5
(2,777 Views)

I saw the same thing with one of my VIs.  Coincidentally, it was my main VI.  Also in LabVIEW 2011, Windows 7 64-bit.

 

I did manage to get it checked using the project properties.  Not sure if it actually did anything though.


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 2 of 5
(2,770 Views)
Solution
Accepted by Mark_Yedinak

The option gets disabled if you have express VI in the code, i.e., delay time.

 

http://digital.ni.com/public.nsf/allkb/886185BE7118C5DE8625780A00769D0F

Message 3 of 5
(2,766 Views)

That's likely the issue with mine.  File Dialog Express VI.


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 4 of 5
(2,754 Views)

@tgif73 wrote:

The option gets disabled if you have express VI in the code, i.e., delay time.

 

http://digital.ni.com/public.nsf/allkb/886185BE7118C5DE8625780A00769D0F


The offending VIs do have Express VIs (delay or dialog box) in them. This appears to be the issue.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 5 of 5
(2,745 Views)