Académique Documents
Professionnel Documents
Culture Documents
ni.com/training
Agenda
TOPICS
A. Virtual Instruments (VIs) F. Shift Register
B. Front Panel/Block G. Case structure
Diagram H. State Machine design
C. Dataflow I. LabVIEW toolkits &
D. LabVIEW Project module
E. While loop J. Where to find information
ni.com/training
A. Virtual Instruments (VIs)
ni.com/training
B. Parts of a VI
ni.com/training
B. Parts of a VI – Front Panel
ni.com/training
B. Parts of a VI – Block Diagram
ni.com/training
B. Parts of a VI – Icon/Connector Pane
• Icon: graphical representation of a VI
• Connector Pane: map of the inputs and outputs of a VI
• Icons and connector panes are necessary to use a VI as
a subVI
− A subVI is a VI that is inside of another VI
− Similar to a function in a text-based programming
language
Icon Connector Pane
ni.com/training
B. Starting a VI
ni.com/training
B. Front Panel – Controls Palette
• Contains the controls and indicators you use to
create the front panel
• Access from the front panel by selecting
View»Controls Palette
ni.com/training
B. Block Diagram – Functions Palette
Contains the VIs, functions, and constants
you use to create the block diagram
ni.com/training
C. Dataflow
LabVIEW follows a dataflow model for running VIs
• A node executes only when data are available at all of its
input terminals
• A node supplies data to the output terminals only when the
node finishes execution
ni.com/training
D. Project Explorer
Use LabVIEW Projects to:
• Group LabVIEW files and non-LabVIEW files
• Create build specifications
• Deploy or download files to targets
ni.com/training
E. While Loops
Repeat (code);
Until Condition met;
End;
ni.com/training
E. While Loops
ni.com/training
E. While Loops – Tunnels
ni.com/training
F. Iterative Data Transfer
ni.com/training
G. Case Structures
• Have two or more subdiagrams or cases
• Execute and displays only one case at a time
• An input value determines which subdiagram to execute
• Similar to c a s e statements or i f . . . t h e n . .. e ls e
statements in text-based programming languages
ni.com/training
G. Case Structures – Enum
• Gives users a list of items from which to select
• The case selector displays a case for each item in the
enumerated type control
ni.com/training
H. State Machines
ni.com/training
H. State Machines – Infrastructure
While Loop
ni.com/training
National Instruments
On-line Courses
Benefits
• Live certified Instructors
• Students can interact by microphone and chat
• Access to a remote PC with SW & HW for exercises
• Professional training without travel cost and at a lower price
• 4 hour per day format (morning or afternoon)
ni.com/training
Grazie per aver partecipato
ni.com/training