Graphical Programming Chap1: - Motivation #1
Graphical Programming Chap1: - Motivation #1
Graphical Programming
chap1
Communicating to an Experiment
What is LabView?
Data acquisition
Data analysis
Data presentation
Process monitoring and control
2/21/2016
C, Fortran, Basic use text based programming languages to create lines of code
LabVIEW using G graphical programming language in picture/ icon format
(block diagram). Most of syntax is eliminated. - formal knowledge of
programming not required.
2/21/2016
Indicator
Nodes - analogous to
statements, operators,
functions and subroutines
Block Diagram
Wires - data paths between source and
destination terminals
Dataflow Programming
wiring tool
Lets see this in action example 1_1.vi. Well also see a simple debugging
(bad wires etc.)
HELP!!!!
.
2/21/2016
VIs are not usually run in the continuous mode. Generally, most of
the VIs have a while loop that controls the execution of this particular
VI.
example1_3.vi
iteration
terminal conditional
terminal
Graph - usually collect the data in an array and then plot the data to
the graph, which is similar to a spreadsheet that first stores the data
then generates a plot of it.
A Chart:
Pause execution
Start Single Stepping
Highlight execution Probe
(for beginners only)
Breakpoint
Show alert if Temp > 250 and signalise alarm if Temp > 280
Show alert if Press > 15 and signalise alarm if Press > 18