Panel Design for G Web Development Software Projects
- Updated2023-02-17
- 4 minute(s) read
Panel Design for G Web Development Software Projects
Refer to the following table for best practices for designing panels in LabVIEW NXG
| Guideline | Required or Recommended? | Details | Example(s) |
|---|---|---|---|
|
Avoid using all capital letters in labels or panel documentation. |
Recommended |
Capital letters can make text seem more important than necessary. |
N/A |
|
Position the panel in the top left, spatially even with the controls palette. |
Recommended |
If you position the panel in the top left, you can prevent the user from opening the panel to a position that is potentially off the screen or otherwise difficult to see and read. |
N/A |
|
Display the labels of all controls and indicators on the panel. |
Recommended |
Make sure the labels of all controls are meaningful to increase clarity and ease of use for users. |
N/A |
|
Set reasonable default values for controls. Note Default values you set for controls automatically append to the terminal name. The
Context Help displays the default value when you hover over the control.
|
Recommended |
Make sure the default values you set do not generate errors when you run the top-level VI. Note When possible, avoid setting default values for indicators such as graphs, arrays, and strings. Setting default values for those types of indicators wastes disk space when you save the VI.
|
N/A |
|
Use default values strategically and logically. |
Recommended |
Planning the use of default values can save space and simplify code. |
N/A |
|
Avoid displaying labels on the panel for buttons that display Boolean text. |
Recommended |
Only display the Boolean text for these buttons. Note If you click the boolean text of a checkbox, the value of that checkbox toggles. The value of that checkbox does not toggle if you click the label.
|
N/A |
|
Format any text on your panel appropriately. |
Recommended |
|
N/A |
|
Group and arrange controls logically and aesthetically. |
Recommended |
Note Regardless of the location of the error cluster connector pane connection, place error cluster controls and indicators at the bottom of the panel.
|
N/A |
|
Use the Align and Distribute options in the Layout pull-down menu to create a uniform layout. |
Recommended |
N/A | N/A |
|
Visually group objects with related functions. |
Recommended |
|
N/A |
|
Configure path inputs and outputs appropriately. |
Recommended |
|
If you set a browse action in which a user needs to select a directory, select Select Folder from the Action drop-down menu in the Item tab. |
|
Determine whether an enum or ring is more effective than a Boolean. |
Recommended |
An enum may be more efficient in cases where two states may increase to more states. |
N/A |
|
Arrange items in a cluster vertically. |
Recommended |
To arrange items vertically, select Vertical from the Arrange drop-down menu in the Item tab. |
N/A |
|
Use imported graphics to enhance the panel. Note This guideline is specific to user interfaces.
|
Recommended |
Import graphics and text objects to use as panel backgrounds by dropping URL Image from the Decorations palette and navigating to the image on the Item tab. |
N/A |
|
Use color logically, sparingly, and consistently, if at all. Note This guideline is specific to user interfaces.
|
Recommended |
|
|
Related Information
- File and Project Organization in G Web Development Software
Refer to the following table for best practices for organizing files and projects in G Web Development Software.
- Icons and Connector Panes for Distributed APIs
Refer to the following table for best practices for creating icons and connector panes.
- Diagram Design for G Web Development Software Projects
Refer to the following table for best practices for designing diagrams in G Web Development Software.
- Best Practices for Creating Projects in G Web Development Software
To develop projects that successfully serve your needs and the needs of your end users, refer to the following best practice guidelines:
- Localization for LabVIEW NXG Projects
Refer to the following table for best practices for localization in LabVIEW NXG.