Jump to content

Recommended Posts

Hi All,

I am attemping to buld an executable from source code (LV2009) that calls two seperate custom .lvlibs. The problem is when I build it, it creates the exe along with two folders containing all of the vi's in those libraries. Is there a way to roll them into the exectuable? I figuered this would be really easy but i have had no luck.

Any help would be appreciated!

Thanks,

Paul

Share this post


Link to post
Share on other sites

Make sure that the build script does not have the "use 8.x structure" option checked (probably in the Advanced page). I'm assuming this project was ported from an earlier version, where this is checked automatically for compatibility.

Note that this changes the internal structure of VIs in the EXE, so if you're using relative paths, you might have to do some fixing of your code.

Share this post


Link to post
Share on other sites

The internal format of executables changed in LabVIEW 2009. By default, though, older projects load using the older format. You can toggle this setting on the Advanced page. Look for the option - "Use 8.x file layout". Uncheck this (if it's checked) and the files will no longer be placed outside the EXE.

Share this post


Link to post
Share on other sites

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.