Complete the following steps to build the front panel of a configuration dialog box VI. Also use the LabVIEW style checklist and other development guidelines when building the user interface.
Place controls and indicators that you want to appear in the configuration dialog box in the Main Selection frame of the front panel, except for the OK, Cancel, and Help buttons.
Resize the front panel to display only the Main Selection frame and the OK, Cancel, and Help buttons. The configuration dialog box maintains this setting after you save the VI.
Save the configuration dialog box VI.
Complete the following steps to build the block diagram of a configuration dialog box VI.
In the Initialize section of the block diagram, specify the configurable parameters for the Express VI in the Control Data array. Each element in the Control Data array has three fields.
In the first field, Ctl Type, specify the type of the control, such as a front panel control, a constant, the Express VI title, or a dynamic data type control, in the source VI.
In the second field, SourceVI Ctl Label, enter the label of the control as it appears on the front panel of the source VI.
Note You must enter the exact string, including the correct case, as it appears in the control label in the source VI. To ensure accuracy, copy and paste from the front panel label in the source VI.
In the third field, ConfigDiag Ctl Label, enter the label of the control as it appears on the front panel of the configuration dialog box VI. An empty string indicates the label is the same as the source VI label.
Configure the Main While Loop section of the block diagram to handle user interface feedback such as
updating graphs or using radio buttons. The Event structure in this section is for any code related to direct user events such as value changes.
In the Reconfigure section of the block diagram, specify the expandable terminals for the Express VI in the Terminals to Grow array.
Save and close the configuration dialog box VI.
Note If you run the configuration dialog box VI by itself instead of launching it from the Express VI, you receive an error message. Disregard this error, which occurs because you are not running the VI as part of the Express VI.