LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run-Time Menu...

Hi Guys,

 

I'm using LabView Version 7.1.

I'm Trying to use the Run Time Menu on it (I've configured it), but I can't understand why it's not working.

Can someone help me with it?

The files where added as attached file.

 

Waiting for your help,

Shimon.

0 Kudos
Message 1 of 6
(3,125 Views)

The problem is that the "3" menu has no children. When you click on it LabVIEW gets a little "wonky" and just keeps beeping at that point if you try to access the menubar again. Technically, it's a bug, but then one should not have a main menu item with no children because then it would really be more of a button.

 

Side comment: What exactly are you doing in that code. You're converting a string to a number, and then converting it back to the original string. Why? Also, don't make greedy loops. Place the wait outside the case structure. You can reduce the wait time since 1/2 second is a bit long in terms of user interface response. Something like 100-200 msec should be more than adequate. 

Message 2 of 6
(3,120 Views)
And, you need to actually rad the menu if you want to select again. This should be done in an event structure and not in a while loop. This applies to your front panel 'selector' control as well.
Message 3 of 6
(3,117 Views)

Hi guys,

 

The above llb file was a sample of a program that I work on my system.

I really don't understand how can I use the Run-Time Menu... On the Lab View version 7.1 (Presume it's the same as the other versions).

Can someone fix it so I understand how to use it in my program?

 

Thanks,

Shimon.

0 Kudos
Message 4 of 6
(3,107 Views)

Continue,

 

The program meant to be a sample that changes the text output according to the Run Time Menu, and according to it changes the text output according to it.

 

Regards,

Shimon.

0 Kudos
Message 5 of 6
(3,106 Views)
There are several examples that ship with LabVIEW that show you how to use menus. Your best bet is to start there. Open the Example Finder (Help -> Find Examples) and search for "menu".
Message 6 of 6
(3,102 Views)