Magda Yu. LabVIEW Prakticheskiy Kurs Dlya Inzhenerov.fragment
-
Upload
eugene-ageyev -
Category
Documents
-
view
28 -
download
1
Transcript of Magda Yu. LabVIEW Prakticheskiy Kurs Dlya Inzhenerov.fragment
-
621.38 32.973.26-108.2 12
. .12 LabVIEW: . .:
, 2012. 208 .
ISBN 978-5-94074-782-6
, - LabVIEW. - , . - . .
- , LabVIEW.
621.38 32.973.26-108.2
. - .
, , . , . - , .
. ., 2012ISBN 978-5-94074-782-6 , , 2012
-
.............................................................................................................................5
1 LabVIEW: ...............8
2 ........................................................................................11
LabVIEW ...................13 LabVIEW ...........................................24 LabVIEW ........................................................................32
3 LabVIEW Measurement & Automation Explorer ..............................................................................................................................48
DAQ................................................................................49 DAQ MAX ...........................................................................54 DAQ ...............................................57 DAQ ................................................. 60 / DAQ .............................. 62 / DAQ ................................. 67 ...............74
4 LabVIEW ...................................80
...............................................80 ......87
-
4
5 LabVIEW ............................................. 107
............................................................ 108 LabVIEW ................................ 112 - ............................................. 116 LabVIEW .............................................. 121
6 - LabVIEW .....................................................................133
7 LabVIEW: .........................155
8 LabVIEW: ..... 176
I/O Assistant ........................ 178 LabVIEW .......................................... 181 LabVIEW ...........................................183
9LabVIEW TCP/UDP.......................................................................................... 191
UDP .......................................................................... 193 TCP ........................................................................... 203
-
11
2
- LabVIEW. - , - . , - LabVIEW: , - .
LabVIEW (VI), .vi. - LabVIEW , , - . VI , , - .
LabVIEW - , . /, , , , (, . .). , (, . .). .
- LabVIEW - . LabVIEW, , - , .
-
12
, - LabVIEW. , - LabVIEW - , -.
, LabVIEW - (VI). (-) () , (). - - (, , . .). - , .
LabVIEW -, - / (). - G, LabVIEW, . - (, . .), (). G , , .
LabVIEW -, ( DAQ, - . .), ( ) . LabVIEW , . LabVIEW - -. - , - ; - . - , - -. - - , .
LabVIEW, - LabVIEW , , , , , , /++.
, , LabVIEW--, .
- , -
-
13 LabVIEW
(). LabVIEW - , -. NI LabVIEW 2011.
LabVIEW LabVIEW - . ( ) LabVIEW. - .
-, ( ).
1. , 100 1000 1 . , -, 0,33 180 . .
(Blank VI) LabVIEW, - ( . 2.1).
, : (Front Panel), -; (, (), . .).
(Block Diagram) - ( -) ; , , .
- , , - .
Controls. -, Functions, , - . , . -- , Show Block Diagram Windows .
-
14
. - . Silver - Waveform Graph (. 2.2), .
, Controls -. Silver Knob Vertical Pointer Slide, , - Primer.vi (. 2.32.5).
Knob -, Vertical Pointer Slide - . -. -, Knob Amplitude, V, Vertical Pointer Slide Frequency, Hz.
, 100 1000 , 1 . - ( Properties ).
. 2.1
-
15 LabVIEW
. 2.2
. 2.3
-
16
. 2.4
. 2.5
-
17 LabVIEW
LabVIEW , .
Knob Properties - Scale (Maximum) 1 10 (. 2.6).
. 2.6
- 100, 1000 (. 2.7).
, , Visible Items Digital Display. - LabVIEW , .
- (DBL). - , . Data Type - U32 (. 2.8).
Knob, . - , . -
-
18
, - . 2.9.
. 2.7
. 2.8
-
19 LabVIEW
, , - -. . 2.10, - , - .
. 2.9
. 2.10
-
20
- LabVIEW Functions, , - . , -.
VI Functions. Simulate Signal, - Functions Express Input. - - Amplitude, . Frequency Simulate Signal , .
Simulate Signal - , . 2.11.
. 2.11
, Signal type Square. Amplitude - 1. - LabVIEW.
-
21 LabVIEW
LabVIEW () . , -, , . - , , , - , .
, 1000 2000 . - , . , , - 1000 , 1000 - (3000, 5000, 7000 . .).
, . - , , 11- , 22 .
, 11- . 20 000 Samples per second (Hz) Simulate Signal (. . 2.11).
. Functions - Express Arithmetic & Comparison Time Domain Math. Time Domain Math . - (. 2.12).
Mathematical Operation Summation (Sum[X]) . - , .
Func-tions Formula. -, Time Domain Math (Express Arithmetic & Comparison Formula). , .
- Pro per-ties , Formula, . 2.13.
, Formula - :
(Input1)/3+Input2.
-
22
. 2.12
. 2.13
-
23 LabVIEW
, 3, X1 X2. X1 Input1, X2 Input2. Input1 - Time Domain Math, Input2 5 (). Numeric Constant, - Functions (Express Arithmetic & Comparison Express Numeric).
- . , , - -. - , . 2.14.
. 2.14
(, Simulate Signal, -, Formula) (Merge Signals) Waveform Graph.
Run Waveform Graph (. 2.15).
, -. -. , , , -.
-
24
LabVIEW LabVIEW - , /++ while(), for(), switchcase. - Functions, - Express Execution Control .
1 , .
2. 2 , Functions Express Execution Control, While Loop - , - ( . 2.16).
- , . - while(), - ( . 2.17).
. Stop if True ( ).
. 2.15
-
25 LabVIEW
STOP (. 2.18).
STOP . , STOP. , - Abort Execution . - Abort Execution . STOP .
. 2.16
. 2.17
-
26
while() , - , - STOP. , - :
STOP ( 1); 600 ( 2).
3. - - , - -.
: . - 600 . - , - (OR), (true), .
Functions. , (Greater or Equal? ?), Functions Express Arithmetic & Comparison Express Comparison, , - (Or), Functions Express Arithmetic & Comparison Express Boolean.
. 2.18
HistoryItem_V1 TrimAndShift Range: all pages Trim: fix size 6.496 x 9.252 inches / 165.0 x 235.0 mm Shift: none Normalise (advanced option): 'improved'
32 D:20140413155341 666.1417 Blank 467.7165
Tall 1 0 Full 475 213 None Up 283.4646 0.0000 Both 2 AllDoc 191
CurrentAVDoc
Uniform 2.8346 Top
QITE_QuiteImposingPlus2 Quite Imposing Plus 2 2.0 Quite Imposing Plus 2 1
203 208 207 208
1
HistoryItem_V1 TrimAndShift Range: all pages Trim: fix size 5.512 x 8.071 inches / 140.0 x 205.0 mm Shift: none Normalise (advanced option): 'improved'
32 D:20120519190634 581.1024 140205 Blank 396.8504
Tall 1 0 Full 475 213 None Up 283.4646 0.0000 Both 2 AllDoc 191
CurrentAVDoc
Uniform 2.8346 Top
QITE_QuiteImposingPlus2 Quite Imposing Plus 2 2.0 Quite Imposing Plus 2 1
0 208 207 208
1
HistoryList_V1 qi2base