You want to replace front panel controls with a custom menu? If that's true, then the code to do that is similar to the best way to handle the original controls. The event structure has both menu selection (User) and Menu Selection (App). As the shipping example Menu Selection with Events shows, you get the ItemTag and MenuRef from which you get the menu's item name which can be connected to a case structure. Since the menu name is a string, it also works well in a queue based state machine.
