Using LabVIEW Templates and Sample Projects For Desktop Applications
Using LabVIEW Templates and Sample Projects For Desktop Applications
Mark Lewis
Account Manager, Navy and NASA
ni.com
Agenda
ni.com
Sample Project
A working application that is a
starting point for customization
Typically based on a template
ni.com
Reduce errors
Increase reuse
ni.com
Desktop Templates
Template
Description
Blank Project
Blank VI
Simple State Machine
Actor Framework
ni.com
Root Template
Finite Measurement
Actor Framework
ni.com
Filter by
type or
target
Filter by
keyword
search
ni.com
More Information
ni.com
10
Project
name
used in
folder
and file
names
Icon overlay
visually
associates
created VIs
with this
project
Root must be
an empty
folder
ni.com
11
Project
organized using
folders
ni.com
Comments
give high
level
insight
about the
code
ni.com
13
Event structure
instead of
polling in wait
state
ni.com
14
Finite Measurement
Sample Project
ni.com
15
Finite Measurement
Sample Project
Initialize
Copy Graph
Stop
Export Data
Save Data
Load Data
Acquire
Acquire
Configure
Configure
Update UI
ni.com
16
Analyze
Analyze
Clear Data
ni.com
17
ni.com
18
ni.com
Event structure
in its own loop
String messages
added to a queue
ni.com
20
Queue
setup
ni.com
ni.com
22
Queue,
event,
and
notifier
setup
ni.com
23
Queue,
event,
and
notifier
setup
ni.com
24
Queue,
event,
and
notifier
setup
25
Queue,
event,
and
notifier
setup
26
27
Template
Boilerplate project, code,
documentation, and folder
structure
Reduce errors
Increase reuse
Sample Project
ni.com
28