How can I turn off compatibility with 7.1 when labview 8 converts my 7.1 code?

How can I turn off compatibility with 7.1 when labview 8 converts my 7.1 code?

Post by Darre » Thu, 23 Mar 2006 05:11:33


The particular issue you're talking about isn't necessarily "compatibility" with LabVIEW 7.1...it's actually ensuring that your VIs behave the same in 8.0 as they did in 7.1.  As described in that dialog box, a change was made in LabVIEW 8.0 regarding how VI diagrams are compiled in regards to Case Structures with cases that will never run.  If you are using case structures with constants wired to their selectors purely to keep VIs in memory at particular points in your code, then you should heed the advice given in the context help for the created control and use a Static VI Reference in your code instead of a subVI in a case structure.  If you are using case structures with constants wired to their selectors to comment out code, perhaps you should use the Diagram Disable structure instead.
-D 
 
 
 

How can I turn off compatibility with 7.1 when labview 8 converts my 7.1 code?

Post by Darre » Thu, 12 Apr 2007 00:10:10

In LabVIEW 8.0 and later you should use <a href=" http://www.yqcomputer.com/ " target="_blank">Static VI References</a> if you want to keep the subVIs in memory (but don't need to actually execute them) on a diagram.
 
-D

 
 
 

How can I turn off compatibility with 7.1 when labview 8 converts my 7.1 code?

Post by sdvidso » Thu, 12 Apr 2007 01:40:07

Thanks Darren, but the issue is keeping them in the library, not in memory.  I don't care if they are in memory.  This is an interim issue that revolves around the way I build systems some times. 

 

I appreciate your time and support.

 

Steve