Programming Principles: "Let's Start From The Beginning"
Programming Principles: "Let's Start From The Beginning"
What is LabVIEW?
Graphical Programming Language Common Uses
Digital Signal Processing Data Acquisition Control Systems Robotics
Dataflow Programming
Dataflow programming?
Code executes as soon as it has valid arguments Highly parallel
Francesca Ramadori UF
Data Flow
Block diagram execution Dependent on the flow of data Block diagram does NOT execute left to right Node executes when data is available to ALL input terminals Nodes supply data to all output terminals when done If the computer running this code had multiple processors, these two pieces of code could run independently without additional coding
Polymorphism
Definition: a programming language feature that allows values of different data types to be handled using a uniform interface. In LabVIEW: the ability of VIs and functions to automatically adapt to accept input data of different data types
i.e. Numeric Functions Useful when performing the same operation on different data types
Data Flow
Question?:
Data Flow
In Labview, the Data Flow is also sequential but is input dependant.
10
11
12
What is LabVIEW?
Laboratory Virtual Instrumentation Engineering Workbench
Compiled graphical development environment Development time reduction of four to ten times Tools to acquire, analyze, and present your data
13
Polymorphism
Definition: a programming language feature that allows values of different data types to be handled using a uniform interface. In LabVIEW: the ability of VIs and functions to automatically adapt to accept input data of different data types
i.e. Numeric Functions Useful when performing the same operation on different data types
14
Data Flow
Block diagram execution is dependent on the flow of data Block diagram does NOT execute left to right Node executes when data is available to ALL input terminals Nodes supply data to all output terminals when done If the computer running this code had multiple processors, these two pieces of code could run independently without additional coding
15