LabVIEW基礎課程(一)

Download Report

Transcript LabVIEW基礎課程(一)

參考書籍: LabVIEW for Everyone (Jeffrey Travis/Jim Kring)
簡體翻譯:LabVIEW大學實用教程(電子工業出版社)


前面板(Front Panel)-放置控制元件
圖框(Diagram)
◦ 節點
◦ 連線
•
•
File
Edit
•練習
•Representation…

建立一個溫度計



建立一個新VI
建立SubVI(子VI)
練習5.3 求平均值
















For Loop
While Loop
Iteration terminal
Conditional terminal
Count terminal
Shift register
Select function
Case Structure
Selector terminal
Dialog box
Wait (ms)
Flat Sequence Structure
Stacked Sequence Structure
Formula Node
Expression Node
Timed Structure


For i=0 to N-1
Execute Subdiagram


Do Execute subdiagram While condition is
FALSE (Until condition is TRUE)
•輸出入連線
•增加分支
Flat Sequence Structure
Wait
Wait Until
Next ms
Multiple


if (x >= 0) then y = sqrt(x) else y = -99
end if


Y1=x1+X2+5
Y2=(mxX)+b