LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV5.01&WIN98: some menu questions

Dear labviewers,

I've written an application (or rather am writing it) which lets a
user start sub programs using a menu bar. These VI's are handed over
a path, occasionally a string, but are otherwise independant from
the calling (menu-bearing) "start-VI". Only, I've got to see their
front (some graphs) and I would like not to be shown the "menu-vi"
while my sub-vis's are running.

- How do I make the calling program's screen disappear after starting
my sub-vi's?
- How do I make my sub-vi's to actually show up themselves?
- How do I make my calling prog to show up again after closing my
sub-vi?

so far I've experimented with several types of windows settings but
with only random effects (some progs show up, others won't
...).

And (sort of) related to that problem:
is there a way to change the size and the color of the entries in my
menu bars (my "user" is a bit short sited and I have to use the
1024 x 768 pixel resolution because of my graphs ...)?

Thanks a lot for Your friendly answers 🙂

Christoph

p.s.: Yes, I DO have the manuals, any references to these are also
welcome (preferably without the "f" in the "rtfm" 😉 )
0 Kudos
Message 1 of 3
(2,674 Views)
Try DDE'ing it to yourself.
Christoph Klein wrote in message <383C411E.B3600072@mayn.de>...
>Dear labviewers,
>
>I've written an application (or rather am writing it) which lets a
>user start sub programs using a menu bar. These VI's are handed over
>a path, occasionally a string, but are otherwise independant from
>the calling (menu-bearing) "start-VI". Only, I've got to see their
yaka yaka yaka!
0 Kudos
Message 2 of 3
(2,674 Views)
> I've written an application (or rather am writing it) which lets a
> user start sub programs using a menu bar. These VI's are handed over
> a path, occasionally a string, but are otherwise independant from
> the calling (menu-bearing) "start-VI". Only, I've got to see their
> front (some graphs) and I would like not to be shown the "menu-vi"
> while my sub-vis's are running.
>
> - How do I make the calling program's screen disappear after starting
> my sub-vi's?
> - How do I make my sub-vi's to actually show up themselves?
> - How do I make my calling prog to show up again after closing my
> sub-vi?
>
> so far I've experimented with several types of windows settings but
> with only random effects (some progs show up, others won't ...).
>
> And (sort of) related to that problem:
> is there a way to change the size and the color of the entries in my
> menu bars (my "user" is a bit short sited and I have to use the
> 1024 x 768 pixel resolution because of my graphs ...)?
>

Since you have LV5, I'd suggest using the VI Server. You can make
a panel show or hide with a reference by setting the visible property.
It sounds as though you already have the menu working. If not, I
would suggest the menu chapter of the user manual. Its not hard,
but there are quite a few details. Then on the diagram where
you are switching on the menu items, place the VI name to call in
each case or make it table driven. Use the name to show the subVI
and hide the calling VI. When the subVI returns, reverse them.

There are some examples doing similar things. examples/viserver
will have some, and you might want to use the Search Examples to
locate an menu one if you haven't already.

Assuming the subVIs are all in memory already, I'd get references to
all of them at startup time. As for the font size, it is tied to the
system font. You can change that in the Preferences > Font page and
on restart it will take affect. It might be the Application font, but
I'm pretty sure its system. There isn't a programmatic way to change
it out.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,674 Views)