LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Firing events from a Menu using Event Structure - all in the same Event Window?

I have an ap where I have three menus, and several selections from those three menus. I'm trying to keep everything within the Event Structure, but it seems that ALL of the events fired from the Menu must be contained within one "frame" of the Event Structure, that being the Menu Selection (user) Event. In other words, if I have 16 events that can be fired from the menu, do I have to put them ALL in this one event frame?
I can't seem to use a T/F indicator within the Menu Selection (user) Event to access another Event. For example, within the Menu Selection (user) Event, I placed a boolean named X and can turn it on with a menu selection. Now, make a new Event Structure to look for X Value Change - doesn't work.


Message Edited by Broken Arrow on 11-30-2005 10:24 AM

Richard






0 Kudos
Message 1 of 2
(2,481 Views)
I use one event, Menu Selection (user). to trap all of my menu events.  Use Item Path and / or Item Tag to figure out what menu item was selected then branch code based on selection.  Wtih Booleans and menus you need to update the state of the boolean on the menu by setting it True or False.  It doesn't automatically toggle like you would expect.
 
Matt
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 2
(2,464 Views)