pawhan11 Posted October 22, 2016 Report Share Posted October 22, 2016 I have stared using OOP in LV some time ago, and there is something that I don't undrestand. When I modify 1 class VI all class members are recompiled and also modified despite of fact that I haven't touched them. This becomes a serious problem when using source controll, I am pushing hundreds of VIs to the server and without comments I can not tell which VI was modified. Is there a way around that? When programming without classes I never had this problem. I am using GOOP from Symbio Cross post from: http://forums.ni.com/t5/LabVIEW/Labview-Class-recompile-problem/m-p/3360728 Quote Link to comment
Rick S Francis Posted July 5, 2017 Report Share Posted July 5, 2017 pawhan11, To reduce the changes to your source from recompiling- go to the VI properties General category and check: Separate compiled code from source file When this flag is set LabVIEW saves the compiled code in a separate location called the Compiled Object Cache. The Compiled Object Cache will not be part of your source code repository so a compile will not lead to a change to your repository. -Rick Franics 1 Quote Link to comment
A Scottish moose Posted July 5, 2017 Report Share Posted July 5, 2017 I went through the same problem when I started implementing OOP a couple years ago and Rick's answer is the correct solution. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.