LabVIEW 7.0 Resets Type Definition Constants in Applications to Default Values
Primary Software: LabVIEW Development Systems>>Full Development System
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
|
Problem: I noticed the following item in the LabVIEW 7.0 Application Builder User Guide (linked below):
When you build an application or shared library from a VI that contains custom controls or type definitions, the Application Builder disconnects the controls and type definitions so you do not have to include the files with the application or shared library. If the VI contains a polymorphic VI, the Application Builder removes all unused instances from the polymorphic VI, which decreases the size of the application or shared library.In my application, I use type definition constants on the block diagram. Because of this change, LabVIEW resets the constants to their default values when I build an application. Can I change this behavior?
Solution: You can disable the removal of type definitions from built applications by adding the following line to the
labview.ini
file in the labview
directory and restarting LabVIEW.BldApp.RemovePolyVIsandTypedefs=False
posted on 2005-10-27 18:25 LabVIEW开发者 阅读(283) 评论(0) 编辑 收藏 举报