Professional Documents
Culture Documents
1.1 Labview
NI Labview7.1
File>>New VI New>>Blank VI
LabVIEW
ToolsControlsFunctions
Tools Palette
VI
Windows Show
Tools Palette
Windows
Show Help Window
Sub VI
Operate
Value
Position/Size
/Select
Edit Text
Connect
Wire
Object
Shortcut
Menu
Scroll
Windows
Set/Clear
Breakpoint
Probe
Data
Get Color
VI
Set Color
Control Palette
10
Numeric
Boolean
String
&
Path
Array
&
Cluster
List
&
Table
Graph
I/O /
Refnum
/ OLEActiveX
Digilog
Controls
11
12
13
14
15
Clussic
Controls
ActiveX
Activex
Decorations
Select
a
Controls
User
Controls
(Functions Palette)
Structure
Numeric
Boolean
String
()
Array
Cluster
Comparison
Time
&
Dialog
File I/O
/
Data
Acquisition
Waveform
Analyze
Instrument
I/O
/
Motion
&
Vision
Mathematics
Communication
Application
Control
Graphics
&
Sound
Tutorial
Report
Generation
Advanced
Select a VI
VI
User
Library
GPIB(488488.2)VXI
VISA
TCPDDEActiveX OLE
VI
3DOpenGL
CIN
LabVIEW
VI
Labview7.1
VI
1. FileNew VI
2. Controls>>All Controls>>numeric Tank
Controls
window>>show controls palette,
3. Tank
5.
6. 0.0 1000.0
a. 10.0
1000 0.0 1000.0
7.
Visible
Iterms>>Digital Display
1
8. Windows>>Show block Diagram
while
While
Creat constant
11. Run VI
12.
13. FileSave, VI
14. FileClose VI
1. IndicatorControl
LabVIEW
DBL
TF I16 16
ABC
Chang to Control,
Chang to
Indicator ,
2.
<Delete>
1
VI
LabVIEW
Find
2
LabVIEW
VI
VI
4
Tools
1.2 VI
VISubVI VI
VI VI VI
FunctionsSelect a VI. VI
VI
VI
Edit Icon
VI
VI
VI
Show Connector
LabVIEW
VI
Show Connector
Patterns
VI
1. NEW VI
2. Number control () Number
Indicator All controls>>numberic
X X^6,
3. X 6
4. Edit
Icon.
5. Select Tool
<Delete>
6. Text Tool
7. OK
8. Show
Connector
LabVIEW
Rotate 90 Degrees 90
9. X X^6
a.
b. X
/
c. a b X^6
c. Show Icon.
10. FileSave VI X^6 VI
VI VI VI VI
11. VI New VI
12. Number control Number Indicator
X X^6,
14.
1.3
VI
1. chartControls>>All Controls>>Graph>>Waveform
chart
2. Sine Functions>>All Functions>>Numberic>>
Trigonometric>>sine Wait Until Next ms Multiple
Functions>>All Functions>>Time&Dialog>> Wait Until Next ms
Multiple 100 while
while sin(i)
chart chart strip
3 chart, AdvancedUpdate
Mode
VI
VI
While
While
Do Repeat-Until While
FALSE
0 i=0
i+1 i=0
4While
While
4.0 6.0
1.0
0.8
2.0
0.6
8.0
0.0
0.4
0.2
10.0
0.0
0
1023
ON
OFF
Add
Shift Register
Shift Register
Add Element
VI
1.
2. 0.0 2.0
3. Mechanical
ActionLatch When Pressed OperateMake Current Values
Default ON
Boolean
ON
OFF
2.0
1.5
1.0
0.5
0.0
0
50
1.
0.5
4.00
500
Boolean
2. While (FunctionsStructures)
a. While Add
Shift Register
b. Add Element
Add Input
5.FunctionsNumeric
10. VI
11. VI
0.5
2.1.2 For
For While
For
100
For For
N:
I:
100 For
i 0 99
For
For
a.
b.
0.0 1.0
c. Visible ItemsScrollbar Digital
Display Plot Legend
d.
100
For FunctionsStructures
For Add Shift
Register
b.FunctionsNumeric
0
c.Max&Min FunctionsComparison
d.FunctionsNumeric For
100
VI
VI
2.2 Case
Case Case,
Case
Case
TureFalse
False
Case
VIVI
1.
Number
SQRT
2.00
1.41
2.
Number
Number
True
False
SQRT
SQRT
-999.00
Errot...
FunctionsStructures Case
Case Ture
c. Case False
FunctionsNumeric 999.00
d. One Button Dialog FunctionsTime & Dialog
3.
Error...
e. (FunctionsString) Edit Text Tools
VI TRUE FALSE 0VI
TRUE Case999.00
Error...
VI Number
LabVIEW
Case FALSE Case
4. VI
VI
LabVIEW
ABCD
A
B
ABC D D D
ABC LabVIEW
ABC
0 1
Case
VI
50
50
0.00
100
0 [0..2]
1 [0..2]
100.00
2 [0..2]
1000.00
1. (FunctionsStructures)
2.
Add Frame
After
3.
4.
0
0
Add Sequence Local
5.
Tick Count (ms) FunctionsTime & Dialog
6.
0 Tick Count ms
1
VI While 2
Tick Count msVI
0
8.
Number to Match
VI
9.
VI
7.
Data Range :
FunctionsStructures
y = x2 + x + 1
C C
X X
Y X Y -99
if (x >= 0) then
y = sqrt(x)
else
y = -99
end if
input
output
Y=(X>=0)?sqrt(X):-99;
X
X,Y sqrt(X)
VI
y1 = x 3 x 2 + 5
y2 = m* x + b
x 0 10
Waveform Graph
m
1000.0
y1
800.0
y2
30.00
600.0
b
400.0
20.00
200.0
0.0
0
10
VI
m b
11
Formule Node
y1=x**3+x**2+5;
y2=m*x+b;
m
y1
Waveform Graph
m
y2
b
b
Add Input
Add Output
x 0 10 10 11
Build Array FunctionsArray
m b VI
VI
3.1
2311
0 n 1 n
0 1
Cluster
C stuct
VI
Waveform
3.2
3.2.1
shell
FunctionsArrayArray Constant
ABC
Array Constant
0
Array Constant
0
ABC
Array Constant
0
ABC
3.2.2
3.2.3
For While
For
Disable Indexing
For Graph
1.
2. ControlsArray & Cluster
Waveform Array
3. ControlsNumeric
4. ControlsGraph
Waveform Graph
5.
6. Y
ScaleAutoscale Y
7. Y -0.5 1.5
8.
100
Delta X
1
X0
0
Waveform Graph
Waveform Array
FunctionsSelect a VI LabVIEW\activity
Generate Waveform VI
VI
Generate Waveform VI
For
For 100
FunctionsNumeric For
N=100 X=0 delta X=1
9. VI VI
11.
X delta X X
0delta X 1
X delta X
X Delta X
12. Bundle
<Delete> EditRemove Bad
Wires
13. VI X delta X 1
Array
100
Waveform Graph
Build Array
50
0.5
14.
FunctionsNumericTrigonometric
For
Pi FunctionsNumericAdditional
Numeric
Constants
Build Array FunctionsArray
15. VI
X 0delta X 1
Waveform Graph
Plot 0
1.5
Array
0
-0.09
1.0
0.5
0.0
-0.5
0
10 20 30 40 50 60 70 80 90 100
100
For 100
VI For
True
Initialize
Array
Positive Array
0
Build Array
Negative Array
Input Array
0.0
Initialize
Array
False
Build Array
Positive Array
0
Negative Array
Input Array
Input Array For
For
For
3. VI 4 4
4. 5 For
VI 3 2
N
5. VI
AB
CSbr Scr B C
Sbl Scl B C size
ins
B=0
C=0
K=size(A(.))
if p>=0 then
Ins p,Sbr
Else
Ins p,Scr
end if
Sbl=Sbr
Scl=Scr
Next i
B=Sbr
C=Scr
Print B
Print C
End
LabVIEW FunctionsArray
Replace Array Element,Search 1D ArraySort 1D ArrayReverse
1D Array Multiply Array Elements
Build Array FunctionsArray
Build Array
3x3 3, 4, 7; 1, 6, 2; 5, 2, 8.
1 1
2 2 3
Initialize Array
5 100
100 5
Add Dimension
Remove Dimension
Array Size
Array Subset
Index Array
0 2
Disable Indexing
Constant Control
Constant Control
0
1
2
0 3
1.
2. ControlsNumeric
scalar 1
3.
scalar 2 scalar 3
4. array 1
array 2
5. array 1scalar 1 scalar 2scalar 3array 2 1 9
6. FunctionsArray Build Array
5
7. Build Array array
1scalar 1 scalar 2array 2scalar 3
8. VI array 1scalar 1scalar 2scalar 3array 2
9. VI
Cluster shell
Control
Control Indicator
Control Indicator
Control Indicator
Control
Autosizing
Order
0
1
ReOrder Controls In
Claster
VI
VI 28 28
Bundle
Bundle
Bundle Claster
Unbundle
Unbundle Bundle
LabVIEW
Input Cluster
Output Cluster
Numeric
Numeric
6.00
6.00
Boolean1 Boolean 2
Boolean1 Boolean 2
String
Tsinghua
String
Tsinghua
stop
STOP
Input Cluster
Unbundle
Bundle
Output Cluster
stop
Not
[STOP] FALSE
[STOP]
NOT FALSE NOT TRUE
Cluster Bundle
Unbundle Bundle By Name Unbundle By Name
Bundle Bundle
By Name
Bundle By Name
Unbundle
Boolean 2 Bundle By Name
Unbundle By Name
Cluster Control
Numeric
0.00
String
TSINGHUA
String Control
ABCD
Output Element
Numeric
0.00
String
ABCD
Cluster Control
String Control
Output Element
String
Cluster Control
Numeric String
ABCD
Bundle By Name Numeric String
Select Item
LabVIEW
Reverse 1D Array
Cluster to Array
Reverse 1D Array Array to Claster
Waveform
LabVIEW 6i
Waveform Waveform
(Y)(t0) X Waveform Build Waveform
VI
Waveform Waveform
Waveform Graph Chart
Waveform
Waveform
Sine Waveform Sine
Waveform VI
LabVIEW 6I
Waveform
Waveform
VI Functions Waveform
Build Waveform
Get Waveform ComponentsY,t,t0
Set Waveform Attribute
Get Waveform Attribute Waveform
Waveform
Waveform
Waveform
Waveform
Operations
Generation
Measurements
File I/O Waveform I/O
C:\WINDOWS\TEMP\app\Installer\disks Setup
Welcome to the LABVIEW 6.0 Run-Time Engine Insallation
Wizard
LABVIEW
LABVIEW File\VI Prorerties
Category Windows Appearance Windows Title
Customize
case
300500700Hz