LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove run-time menu from VI

Solved!
Go to solution

In LabView 2018, is it possible to remove a run-time menu from a VI?

 

I can disable the menu from VI Properties > Window Appearance > Customize and deselecting "Show menu bar", but I'd like to remove it altogether so that the .rtm file no longer appears in the project dependencies.

 

Deleting the .rtm file, or deleting all the menu items, doesn't fix the issue.  As far as I can tell, there are no references to the menu in the block diagram.

0 Kudos
Message 1 of 4
(145 Views)
Solution
Accepted by topic author Tevildo

Hi Tevildo,

 


@Tevildo wrote:

I'd like to remove it altogether so that the .rtm file no longer appears in the project dependencies.

Deleting the .rtm file, or deleting all the menu items, doesn't fix the issue. 


Why is there a RTM file at all?

Did you switch back to "Default" in the RunTimeMenu editor for this VI?

What happens when you delete the RTM file?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(138 Views)

The RTM file exists because this was originally a top-level VI, and we now need to use it as a sub-VI.

If I delete the RTM file, it still appears in the dependency list, with the "Warning - this file has been deleted or moved" tag.

 

Switching to "Default" in the RunTimeMenu editor is the solution I needed, thanks.

0 Kudos
Message 3 of 4
(94 Views)

Property Inspector Free will search all the VIs in your project and find the Runtime menu property is not blank.  It can then remove the property from each VI in a single click.  I had a large project with 70 VIs linked to a deleted menu.

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 4 of 4
(59 Views)