Jump to content

Remove block diagrams for source-only VIs in Source Distributions


Recommended Posts

Hello everyone,

I've got a situation with source distributions: I want to export the sources of a project, but some of the VIs should not include their block diagrams. (But they do :()

This is what I tried:
Create a new Source Distribution and under Source Files add all top-level VIs to Always Included. Next in the Source File Settings select certain folders and check the 'Remove block diagram' option (under Additional Exclusions the checkbox for 'Remove compiled code' must not be checked).

When I build the distribution and open one of the VIs, which are marked as to remove the block diagram btw, it still has it!

I already found out that this is related to all my VIs having their compiled code separated (to keep source control clean, you know...). So in order to archive what I want, I would have to disable that option, let all VIs recompile, build the distribution, enable it again, and let all VIs recompile again to keep my commits clean...

 

:frusty:

What am I doing wrong here?
Does anybody know a cleaner way to do this?

I'm still stuck with LV2011 btw

Thanks for the support.

LogMAN

Link to comment

Okay, I finally found a solution:

 

A second project had no issues, even though it is basically a copy with a few alterations. After a stroke of genius :P clearing the compiled object cache for the application builder solved the problem. Now everything is fine again.

 

I hope this helps anyone who stumbles over the same issue.

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
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.