Professional Documents
Culture Documents
LabVIEW
LabVIEW 13
LabVIEW
LabVIEW LabVIEW
Tip1
Ctrl+N
VI
Ctrl+B
Ctrl+R
VI
Ctrl+T
Ctrl+W
VI
Ctrl+E
Ctrl+H
Help
Shift+
Tip2
(Control)(Function)
Tip3 (LocalVariable)
W X (Numeric)
x y
y=
1
3x 2 + 5
Tip4
LabVIEW
Functions> Programming>Structures>Formula Node
Add Input Add Output
y = 4 x 3 + 3 x 2 + 2 x + 1
W X (Boolean)
LED
RoundLED RoundLED
Functions>Programming>Boolean>NumberToBooleanArray
LabVIEW (SequenceCaseForLoopWhileLoop)
W X(0~9) Using (Case)
(Case)
0 (0,Default)
0 ; 1 (1) 1
0~9
N 0 99 10 8
4
10 8 8 0 15 15 10 5
1 5 1
Tip5
(1).Wait(ms) Functions>AllFunctions>Wait(ms)
VI ()
millisecondstowait
millisecondtimervalue
Wait(ms)
(2).WaitUntilNextmsMultiple Functions>AllFunctions>WaitUntilNextmsMultiple
LabVIEW VI
millisecondmultiple
millisecondtimervalue
Tip6
For Loop While Loop
2 0 21
2 2
( )
6
20
1 21 + 0 2 0
10
1 21 + 1 2 0
1 2 2 + 0 21 + 0 2 0
11
100
101
1 2 2 + 1 21 + 0 2 0
110
1 2 + 0 2 + 1 2
7
111
1 2 2 + 1 21 + 1 2 0
Loop 0
2 x Functions > Mathematics > Elementary & Special Functions > Power of 2
W X LED
LED
2 Functions>Programming>Numeric>Scale by Power of
2( ex~
7 2 0 = 7)
LED I 123 111=7 7 2 0
10=2 2 2 0
i 1 2 0
21 i=11
(WaveformChart) (WaveformGraph)
(WaveformChart)
X Y Y X
Y
X LabVIEW
W X
WaveformChart
Functions > Mathematics > > Elementary & Special Functions > Trigonometric > Sine
Function>Programming>Waveform>Analog waveform>Waveform Measurements>Amplitude and Levels
Function > Propramming>Waveform > Analog waveform > Waveform Min Max
9
LabVIEW For Loop
51 i=50 2 50 100 sin = 0 N=101
sine (
)
W X
Bundle()
Functions>Programming>Cluster,
Class,& Variant> Bundle
Bundle
Tips for Chart
>Data Operations> Clear Chart
--
>Properties>Appearance>()Show x scroll bar
1024 Chart History
Length 100,000
>Chart History Length
Y overlaid ;
Y stacked
>Overlay Plots / Stack Plots
10
(Graph)
LabVIEW
(Waveform graph)XY (XY graph)(Intensity Graph)
XY
(1) (WaveformGraph)
W X
For Loop
Y
X
( X 0 = 0 ) X X 1( X = 1 )
(X ) X 0 X
11
W X
1D 2D
X 0 X Cluster 2D Cluster Array
2D
(Transpose)
2 10 10 2
12
(2) XY (XYGraph)
XY XY
W X XY
()Functions>Mathematics>Elementary&Special Functions>Trigonometric>Sine&Cosine
i=0 sin0=0cos0=1 ; i=25 sin 0.5 =1 cos 0.5 =0 ; i=50 sin =0 cos = -1 ; i=75
sin 1.5 = -1 cos1.5 = 0 X Y
i XY (0,1)(1,0)(0,-1)(-1,0) 101
W X XY XY
13
I/O
I/O LabVIEW
Function>FileI/O FileI/O
WriteToSpreadsheetFile
WriteToSpreadsheetFile 2D 1D
(Excel,WordPad,Origin)
LabVIEW
(row)(ex:Excel)(column)
2D
ReadFromSpreadsheetFile
W X
14
( True)(
True)
A B A B
Excel Origin
15
1. LabVIEW
2. LabVIEW
3. LabVIEW
4.
5.
6.
7.
8.
http://www.phys.ncku.edu.tw/ultracold/paper/aroma.pdf
http://intelligent.mech.yzu.edu.tw/course/experiment/experiment_handout/MEexperiment_2006.doc
http://www.gauss.com.tw/logic/ch1/12.htm
http://www.cinelformacao.com/labview/files/usb6008/usb6008intro.htm
http://www.pt.ntu.edu.tw/hmchai/PTcomputer/hLabVIEW/LabVIEWindex.htm
16