03-21-2006 01:43 PM
03-21-2006 01:58 PM
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
04-09-2007 06:32 PM
I think Darren for his comments, they answered my problem on why I am getting these warning when converting to 8x. There is one other aspect to this. I use the case structure to keep my collection of vi’s in my current library when I do a build developer distribution. These are vi’s that I know I will be using, but have not called them yet. Otherwise they will be dropped out of the library when I do a rebuild. I do this because all of my libraries will become executables and I don’t want any external changes happening to them if I was using common libraries. Maybe someone has a better way to do this? I’m new to 8x so maybe project will help with this problem.
04-10-2007 10:04 AM
04-10-2007 11:18 AM
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
04-10-2007 11:27 AM
04-10-2007 01:05 PM
Lynn,
Great idea, I'll start doing that instead of the case structure.
Thanks,
Steve