LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Status bar & MDI Child

Hi again,

Now, I am interested in creating a status bar at the bottom of my vi and I want to put the date and time in it or other messages that my application generates. How can I do it?

and.... How can I do and a MDI child application like in visual basic?

Finally,

Is it possible in time execution to show the front panel of my vi without embeding it in a window? LabVIEW always embeds the vi in a window, I would like to not embed it in a window.

Thanks,

ToNi.
0 Kudos
Message 1 of 4
(4,175 Views)
I'll start with the easy ones -
The easy way to put a status bar in your app is probably to devote that area for one, or several, controls which will display what you want. You can decorate that area and customize the controls to have the look you want. If you want it to hover above, I think your best chance is a subVI constantly open in that area.
Which brings me to the next question - "LV embeds the VI in a window" - I presume you mean the menu bar (the area where the run button and the VI icon are). If so, right click the icon, select VI Properties and go to Window Appearence. Here you customize these options.
Last one - MDI. If I understand correctly, this is Multiple Document Interface, meaning that you have several child windows sharing the same menus, etc. Like when you open Word and have several documents in the same space or Photoshop and have several pictures in the same space using the same tools. I don't know how this works in VB (how does it work in VB, by the way?), but I don't think this can be done just as easily in LV, since LV is multiplatform and VB (I believe) is windows specific and uses windows options inherently to do this (just a guess, LV also has some windows specific features). Anyway, you can have a seperate VI as your common area and simulate this using subpanels (can be found in the Containers palette, next to the tab control) or using regular subVIs, but you'll probably have to sync all of them somehow. Hope this helps. Maybe I'm wrong and someone will have a better idea.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(4,163 Views)
Take a look G Toolbox at:
http://www.geocities.com/gzou999/grf/statusBar.jpg

LabVIEW doesn't support MDI.


George Zou
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 3 of 4
(4,152 Views)
Hi ToNi,

reference to create a status bar at the botton of your vi, I´d like to indicate you that you would be able to use Subpanels ( Controls|All Controls|Containers).

Through the Subpanels you can execute differents VIs under execution mode (not at the same time under the same Subpanel, but you can load several subpanels and execute one vi for each subpanel or several vis for each one). You can see some examples in Labview (NI Example Finder and type, under the Search Tab, Subpanel and choose several examples that you´ll find).

Actually, Labview 7.1 cannot support MDI but I´ve heard something about this, and it´s possible under the following version that LabVIEW can support it under enviroment mode.

I hope this helps you

Regards

Diego M.
0 Kudos
Message 4 of 4
(4,101 Views)