You posted to the instrument control forum and you should have posted such a generatl question to the LabVIEW board. In any case, LabVIEW ships with numerous examples. Start by openening the example finder under the help menu and especially the examples under the Building User Interfaces topic. If you have a more specific question, post back with details.