Creating Objects for a Graphical User Interface

You can create Graphical User Interface (GUI) objects for your application program in the following ways:

After you design your GUI in LabWindows/CVI, you must develop a C program to process the events generated from the user interface and to control the flow of your program. LabWindows/CVI offers the following two basic methods for designing your programs:

You can use either method in your program, or combine methods for added flexibility. In general, however, avoid using event loops except for processing events from modal dialog boxes (also called pop-up panels).

Note   One of your most important tasks in designing a GUI is to assign IDs and callback functions to every interface object.

Keep in mind the following distinction regarding user interface objects: