LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with run-time menus

Highlighted
Hi,

I want to distribute my program with Application Builder. The install files
are created rightly, but when you run the program the run-time menus are not
shown, but default (LabView) menus appear.

I have tried to put the menu files (.rtm) inside and outside the llb file,
in windows system, in different paths, but the results are the same.

Any ideas?

Thanks in advance,

Miguel.
0 Kudos
Message 1 of 4
(1,048 Views)
I have found this solution:

In Application Builder, I have to fill "Destination Directory" and
"Support Files Directory" with the SAME DIRECTORY. By default, the .rtm
files (they are support files) search the support directory, so it is
necessary to put the same name for both directories.



Miguel escribió en el mensaje de noticias
3a800b64@newsgroups.ni.com...
> Hi,
>
> I want to distribute my program with Application Builder. The install
files
> are created rightly, but when you run the program the run-time menus are
not
> shown, but default (LabView) menus appear.
>
> I have tried to put the menu files (.rtm) inside and outside the llb file,
> in windows system, in different paths, but the results are the same.
>
> Any ideas?
>
> Thanks in advance,

>
> Miguel.
>
>
0 Kudos
Message 2 of 4
(1,048 Views)
Miguel,

I'm assuming you are using labview 5.x. I had the same problem. Here is
what you need to do.

1) save with options to single file (a .llb like you state).

2) Use edit library to delete .rtm file from library.

3) Open vi in library that uses the menu in question.

4) Select edit>run time menu. The menu editor will open with an error that
the file specified does not exist.

5) on the menu editor select File>open and point to the .rtm file outside
the library.

6) save all these changes and re-compile. this should take care of it.

I also remember another menu error back in 5.x land. It was something about
using certain labview default menus. If you placed your custom menu items
after (i think) the operate menu item, the custom items would not appear.

Something like that. Don't quote me. Anyone know what the heck i'm talking
about?

I hope this helps,
Jared

"Miguel" wrote:
>Hi,>>I want to distribute my program with Application Builder. The install
files>are created rightly, but when you run the program the run-time menus
are not>shown, but default (LabView) menus appear.>>I have tried to put the
menu files (.rtm) inside and outside the llb file,>in windows system, in
different paths, but the results are the same.>>Any ideas?>>Thanks in advance,>>Miguel.>>
0 Kudos
Message 3 of 4
(1,048 Views)
Thanks for your message.

Miguel.


jared escribió en el mensaje de noticias
3a8027d8@newsgroups.ni.com...
>
> Miguel,
>
> I'm assuming you are using labview 5.x. I had the same problem. Here is
> what you need to do.
>
> 1) save with options to single file (a .llb like you state).
>
> 2) Use edit library to delete .rtm file from library.
>
> 3) Open vi in library that uses the menu in question.
>
> 4) Select edit>run time menu. The menu editor will open with an error
that
> the file specified does not exist.
>
> 5) on the menu editor select File>open and point to the .rtm file outside
> the library.
>
> 6) save all these changes and re-compile. this should take care of it.
>
> I also remember another menu error back in 5.x land. It was
something
about
> using certain labview default menus. If you placed your custom menu items
> after (i think) the operate menu item, the custom items would not appear.
> Something like that. Don't quote me. Anyone know what the heck i'm
talking
> about?
>
> I hope this helps,
> Jared
>
> "Miguel" wrote:
> >Hi,>>I want to distribute my program with Application Builder. The
install
> files>are created rightly, but when you run the program the run-time menus
> are not>shown, but default (LabView) menus appear.>>I have tried to put
the
> menu files (.rtm) inside and outside the llb file,>in windows system, in
> different paths, but the results are the same.>>Any ideas?>>Thanks in
advance,>>Miguel.>>
0 Kudos
Message 4 of 4
(1,048 Views)