Not sure why you posted this question in the Multifunction DAQ forum and I'm going to assume that you are using LabVIEW. There are shipping examples that show how to create and use custom menus. Open the example finder and expand the Building User Interfaces topic. You access the menu editor from Edit>Run-Time Menu. There are also a couple of topics in the on-line help for the menu editor.