Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

LabVIEW User Interface Gallery

23 ratings | 2.57 out of 5
Print

Overview

LabVIEW provides hundreds of objects for developing a professional user interface: graphs, charts, knobs, dials, thermometers, and more. Simply drag and drop the objects from the controls palette and then use interactive property pages to customize their behavior and appearance.

Numeric Objects

Digital Displays

Slides
Digital displays are a simple way to enter and display numeric data. You can set the precision and formatting of numbers, times, and dates from the objects themselves or with interactive dialog windows.Slides are numeric objects with scale. The slide controls and indicators include vertical and horizontal slides, a tank, and a thermometer so that you can elegantly present data to your users.
Rotary Controls
Rotary controls are numeric objects with scale. LabVIEW includes a variety of rotary controls such as knobs, dials, gauges, and meters.

Graphs and Charts

Waveform Chart
3D Graph
The waveform chart is a special type of numeric indicator that displays one or more plots of data typically acquired at a constant rate. It also maintains a history of data, or buffer, from previous updates.You can use the 3D graph to plot curves and surfaces. A curve is ideal for visualizing the path of a moving object, such as the flight path of an airplane. The following figure shows an example of a 3D curve graph.
Intensity Chart
You can use intensity graphs and charts to display patterned data, such as temperature patterns and topographical terrain, where the magnitude represents altitude.

Lists and Tables

Tables
Listbox
Tables are an excellent way to display multiple data sets. You can easily configure the rows and columns. You then can export this information to a spreadsheet or database.Listboxes are an intuitive tool for providing choices to your user. Simply enter a list of items, and LabVIEW generates the custom listbox for you. You then can respond to a user's selection.
Tree Control
The LabVIEW tree control is a hierarchical list of items that helps your users easily navigate through large amounts of data files, configuration files, and test results.

Boolean Values

Boolean Lights
Switches
Boolean lights help you visually represent the operation of your application. You can customize the colors and shapes of these objects and use them to notify your users of particular events and settings. With LabVIEW switches, you can display and acquire Boolean values. These objects resemble buttons and knobs on traditional instruments, so they are easy to understand and use.
Buttons
Customized buttons provide a simple way to control the execution of your LabVIEW program.

User Interface Design

Tab Controls
Radio Buttons
Tab controls give your user interface a very professional look. Use them to overlap front panel objects in a smaller area or to group objects used during a specific phase of operation.Radio buttons work well in item lists from which your users can select only one item at a time. LabVIEW includes this functionality, so you do not have to program the radio buttons yourself.
Splitter Bars
Splitter bars help you organize the objects on your user interface. Simply drag the bar on your front panel and then customize the look and behavior of the individual bars.

Creating and Importing Objects

LabVIEW XControls
ActiveX UI Objects
Even with hundreds of user interface objects already available in LabVIEW, you sometimes need customized functionality or entirely new objects. Use LabVIEW XControls to modify existing or create entirely new user interface objects. Many Windows-based applications provide ActiveX UI objects. You can add these to your LabVIEW user interface and call all of the methods for the custom objects.
.NET UI Objects
In LabVIEW, you can add .NET user interface objects to your front panel and control them by accessing methods and properties through your LabVIEW code.

Customizing LabVIEW Objects


LabVIEW user interface objects also provide interactive Properties dialog boxes. Using these dialog boxes, you can easily configure how these UI objects appear or behave on the front panel.


You can access properties of UI objects through their shortcut menu during development or at run-time.



Set properties of UI objects, such as plot colors and scales, through the Properties dialog box.

23 ratings | 2.57 out of 5
Print

Reader Comments | Submit a comment »

Check Awesome GUI Gallery in LAVA
But, all controls with the properties and methods, they are powerfull tool to GUI Design based in LabVIEW. Please visit the awesome GUI Gallery of applications based in LabVIEW. http://forums.lavag.org/GUI-GALLERY-user8339-album77.html
- Carlos Alberto Calderón Córdova, Universidad Técnica Particular de Loja. cacalderon@utpl.edu.ec - May 6, 2008

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).