Jump to content

App Menu (rtm file) does not relink properly on package build


Recommended Posts

This bug affects VIPM 2019 (not tested with earlier versions).

Problem: 

The .mnu file located inside a library does not relink when building the library into a package.

How to reproduce:

In Caraya.lvlib, there is an "Application Menu.rtm" menu file that defines the menu for the interactive UI of the Basic Test Manager class.
After building the package, the menu file's URL does not relink properly in Caraya.lvlib.

Before build (from source Caraya.lvlib):

image.png.61a7e68a342bb602254edc2392f9085d.png

After installed package (from toolkit location of Caraya.lvlib): 

image.thumb.png.43902af19650327f3db8a1f249c775b9.png

 

Current Workaround: 

Extract rtm file from library.

Link to comment
Share on other sites

  • 3 years later...
  • 2 weeks later...

To add more data to this. Not only does the path to the .rtm get messed up in the library, but it also gets messed up in the vi/control itself. The path that it is looking for the .rtm file is in the temporary folder that VIPM uses when it builds the package. For example: (C:\Workspace\.Package) where the Package folder has the period after it. So, it seems to me that when VIPM does the install and then LabVIEW compiles everything, the rtm file paths are not re-referenced as part of that recompile process. Our work around was to save the menu with the control itself and not as a separate file. This is fine if the menu is only used in one location. It is a pain if it is used in multiple controls (which is why a .rtm file is handy).

BTW we also tried with the latest VIPM package and it still has the same issue. I am wondering if this is supposed to have been addressed, or there is a plan to address?

Link to comment
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.

Loading...
×
×
  • Create New...

Important Information

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