Professional Documents
Culture Documents
Creating Quality UIs With Labview
Creating Quality UIs With Labview
UIs
with LabVIEW
Grant
Heimbach LabVIEW
Product Manager
1
Agenda
2
What is a UI?
3
UI and
Usability
Usabilit
4
y
Some General Rules
1. Don’t be innovative
2. Less is more
5
1. Don’t Be Innovative
Use familiar
elements
Buttons
Icons
Terminology
Dialogs
Menus
1. Don’t Be Innovative
8
3. Think About Your User
9
Let’s Take a Look at Some UIs
10
Windows Desktop App
11
Applying the Rules
Desktop Windows
Application
Don’t be Think
Less is
innovativ About
e more Your User
• Use System • Allow user to hide • Create a status bar
Controls less important and use the busy
• Add familiar icons displays cursor to update
to task buttons • Hide the LV user
• Use X to close toolbar • Use tooltips to
application • Don’t persist one- clarify
time configuration functionality
controls for no • Allow the user to
reason use cancel long
temporary dialogs tasks
• Customize the • Use panes to let
run- time menu user resize your
application
12
Use Appropriate Controls
14
Add Decals to Buttons - Demo
http://www.youtube.com/watch?v=2NdqXh67mak
Reuse tip:
If you give your customized control an icon and save it in <LabVIEW>\user.lib it will show up
in the
controls palette under User Controls.
15
Tooltips
16
Tooltips - Demo
http://www.youtube.com/watch?v=NGeElmr1q2g
17
Recolor Graphs
18
Recolor Graphs - Demo
http://www.youtube.com/watch?v=rOUcBvyHj5E
19
Hide the LabVIEW Toolbar
20
Hide the LabVIEW Toolbar - Demo
http://www.youtube.com/watch?v=2CbKuBVGzo0
21
Customizing the Run-Time Menu
22
Customizing the Run-Time Menu - Demo
http://www.youtube.com/watch?v=wkpiAmHFddM
23
Spawning Dialogs
24
Spawning Dialogs - Demo
http://www.youtube.com/watch?v=L-
hNmzQ9tFc
25
Using Panes Title
Area
Menu /
Comman
ds
Expandable
Content
Area
Status
Bar
26
Using Panes – Demo
http://www.youtube.com/watch?v=hZ180R7ADto
27
Hiding Panes
28
Status Bar
Another special-use case for panes can be to create a persistent status bar. In the bottom left of your status bar add a string control
and simply update the text contained in the status bar via local variable wherever you need to.
This simple technique is one of the most effective ways of keeping your user informed as to what state your application is in or what
task it is busy performing.
29
Busy Cursors
Along the lines of keeping the user updated – LabVIEW lets you change the cursor to a busy
cursor programmatically. The busy cursor is an OS-wide UI element that most users are
quite familiar with (it means – “wait, I’m trying to do something!”).
30
Busy Cursors - Demo
http://www.youtube.com/watch?v=_mosr-
oTgRM
31
Keeping the User Updated
32
Small Touch Screen App
33
Applying the Rules
Small Touch
Screen
Don’t be Think About
Less is
innovative Your
more User
• Use large • Screen real- • Glare may be an
controls & estate is issue use
indicators that valuable, use more contrast
resemble it wisely • Touch screens
their • Use trays, tabs require more
physical or different spacing
equivalent screens to • Users fingers
s stretch screen may obscure
• Simple is space part of the
best screen
34
Tab Controls
Sliding Tab
Control
36
Sliding a Control – Move.vi
39
Applying the Rules
Informative Console
Display
Don’t be Think
Less is
innovativ About
e more Your User
• Take inspiration • Show only the • Passive
from TV, websites important audience
or similar information in an visual appeal
applications instantly is more
recognizable important
way
40
Panel Background
41
Panel Background - Demo
http://www.youtube.com/watch?v=gxXJfonTlFc
42
Create Decorations in PowerPoint
43
Create Decorations in PowerPoint - Demo
http://www.youtube.com/watch?v=gjYfqhlv2hQ
44
Transparent Indicators
45
Transparent Indicators - Demo
http://www.youtube.com/watch?v=jgUB1oDmf-
4
46
Transparent PNGs in a Picture Ring
The weather icon indicator is a special case of the previous technique. By combining a
transparent picture ring control with some transparent PNGs you can create some
pretty powerful, nice looking graphics which will add some visual appeal to your
application and also increase the usability of your UI by providing instantly
recognizable icons for various states.
47
Transparent PNGs in a Picture Ring -
Demo
http://www.youtube.com/watch?v=AmDLCsnOegw
48
Heavily Customized Controls
49
Free Stuff - UI Interest Group
http://decibel.ni.com/content/groups/ui
50
Key Take Aways
• The “Rules”
1. Don’t be innovative
2. Less is more
3. Think about your user