LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Run-Time Toolbar in Labview

I want to build a custom toolbar to replace the standard Labview one during runtime. I have not found any examples of this, has anyone done it? It needs to be attached to the window in the same way as the runtime menu (not a look-alike tagged to the bottom),ie. it does not sit on the panel, but on the menu bar.
0 Kudos
Message 1 of 10
(9,452 Views)
Have you tried doing cusom run time menu's. I'm going to assume you have labview 7.0 or greater since you did not post which version that you have. I found many examples in the example finder Try those and see if that is what you are looking for. Or if you do not find any post which version of labview you have and maybe I can send you one or two.


Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 10
(9,450 Views)
You can setup a custom runtime menu by opening the 'Edit' menu from the front panel of the VI you want the menu on ans selecting 'Run-Time Menu..'. From this dialog, you can customize the menu to whatever you want, including making your own menu items.

For some VI examples on how to handle the custom menu choices, open the example finder in the Help menu and do a search on "menu". There are several examples that come with LabVIEW.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 3 of 10
(9,449 Views)
Hi cplaw

for creating your personal runtime-menu you open the dialogbox under "Edit"->"Run-Time Menu". If you want to create a toolbar i fear you have to use some ActiveX ("Microsoft Toolbar Control"). This Control is embedded in the ActiveX-Container, and therfor part of the panel. If you can abandon buttons i recommend to use only the Run-Time Menu (Programming the Tollbar-Control is not that hard, but i encountered several problems with differing versions of the control/LabView on several machines).

regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 10
(9,449 Views)
I think the point has been missed, I mean "Toolbar", I am already using a custom run-time menu, I want to suppliment that with a custom run time "Toolbar" in the same mechanism as the Labview toolbar (run, run continuously, stop, pause, etc) but without any of the Labview toolbar functions (which are currently Off) Hope this clarifies the question.
0 Kudos
Message 5 of 10
(9,450 Views)
You cannot modify the LabVIEW toolbar except to turn it off. The only ways I know of to create your own is to use Booleans with custom icons and a decoration as a background or use an ActiveX control (i.e Microsoft Toolbar). If you use either, snug it up against the LabVIEW toolbar and have the LV toolbar turned off when running, the custom toolbar will appear in place of the LV one. You would also have to turn scrolling off because otherwise the custom toolbar would scoll on the front panel along with other front panel objects.
0 Kudos
Message 6 of 10
(9,448 Views)
Hello to everybody.
I have the same needs of cplaw, i.e. to build a custom button toolbar but I haven't found any nice and intergrated solution.
Do you know whether this tool is available in LabVIEW 8.0?
 
Thanks.
 
Regards
 
Liga
0 Kudos
Message 7 of 10
(9,138 Views)

It probably isn't, because toolbars (I think) are specific to windows and LV isn't.

One thing you can do to improve the previous is to use the new panes feature. You can create a pane in your front panel which will serve as your toolbar. You will still need to write all the code, though.


___________________
Try to take over the world!
0 Kudos
Message 8 of 10
(9,128 Views)

can you send me the example programe for making toolbar with labview version 8.6?

Regards,
Balaji DP
0 Kudos
Message 9 of 10
(8,243 Views)

Same as before except the addition of splitter bars makes it simpler to keep it at the top when scrolling. See the shipping example called 'Toolbar using Splitter Bars'.

0 Kudos
Message 10 of 10
(8,205 Views)