Chapter 7
Advanced Application Topics
7-2
©
National Instruments Corporation
How Do You Use the Panel G Wizard?
The Panel G Wizard only operates on Boolean controls. To invoke the
Wizard, pop up on a front panel Boolean control and select Panel G
Wizard…. Popping up on a button control brings up the Panel G Wizard
shown in Figure 7-1.
Note
Because the code created by the Panel G Wizard contains file path information,
some features do not generate correct code until the calling panel is saved to disk.
For this reason, save your VI to disk before invoking the Panel G Wizard.
Figure 7-1.
Panel G Wizard
The Panel G Wizard provides a mechanism to open or close a panel when
the button is pressed. You determine this action by operating the With this
Control ring near the top of the Panel G Wizard dialog box.
The Panel G Wizard can create code that will open three types of panels:
•
VIs that you have created and saved to disk
•
a Login prompt
•
the Historical Trend Viewer
When opening VIs that you have created, you specify the path to the VI by
typing it in the Path to VI control or by selecting the Browse… button.