LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable labview changing a constant that was wired to a Case structure

Hi,
 
When upgrading from Labview 7.1 to 8.2 I get the following warning:
 
    - LabVIEW 8.2 changed a constant that was wired to a Case structure to a hidden control to maintain compatibility with LabVIEW 7.1 and earlier.
 
I have read the post describing why this happens:
 
Typically I have used a constant wired to case structures to comment out code, and therefore don't really care if the compiler doesn't load into memory.
 
Is there anyway to stop Labview 8.2 converting constants wired to case structures into hidden controls?  E.g. As an import option?
 
Thanks in advance
 
 
 
 
0 Kudos
Message 1 of 2
(2,508 Views)
I don't think there is a way to disable that upgrade feature, but it does not really matter, because the function remains the same. Just ignore the upgrade note.
 
To disable code, you should now use the "diagram disable structure". It has the big advantage over your solution that the disabled code can be broken and the VI is still runnable. 🙂
0 Kudos
Message 2 of 2
(2,498 Views)