Jump to content

Labview class recompile and source controll


Recommended Posts

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

Link to comment
  • 8 months later...

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

 

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.