Upload
phungdat
View
232
Download
0
Embed Size (px)
Citation preview
1
2
(Data Acquisition)
1980
1
2
GPIB
3 586
LabVIEW
GPIB(General Purpose Interface Bus)
IEEE 1975
IEEE-488 HP-IB
GPIB
3
GPIB GPIB
Controllertalker
listener
LabVIEW VI GPIB
LabVIEW
LabVIEW FORTRAN,
Basic C
LabVIEW
LabVIEW
LabVIEW
LabVIEW GPIB
LabVIEW VI
VI
1
4
2 G
3 VI
LabVIEW front panel,diagram
5
LabVIEW ""(Virtual instruments,
VIs), LabVIEW
VIs,VIs ,(front
panel)(block diagram)/
(con/connector)
,
,
, LabVIEW ,
,/
VIs ,
VIs , VI
SubVI
(3.1) LabVIEW
:
:
:
:
:
6
:
:
(3.2) LabVIEW
:
:,,
:
:,
:
:
(3.3)
:
:
7
:
:List Table
:
:Graph
:
:
(3.4)
:
:
:
8
:
:
:Cluster
:
:
: VIs
(3.5) LabVIEW
A.WHILE Loop
WHILE Loop, LabVIEW
WHILE Loop function,:
9
WHILE Loop :
Do
Execute diagram inside the loop
While the condition is true
B.FOR Loop
LabVIEW FOR Loop function
:
WHILE Loop
,FOR Loop ,
:
For i=0 to N=1
Execute diagram inside the loop
10
: :
( 1 ) LabVIEW
( 2 ) Temperature System Demo VI
a . File
b . example , apps , tempsys.llb
c . Temperature System Demo VI
( 3 )
LabVIEW
a . Window , Show Diagram
b .
11
VI
examples\general\controls\smplctls.llb
VI(Editing Exercise VI) VI LabView
(1) WindowsShow ToolsPalette
(2)
a. Tools Positioning tool
b.
(3) WindowsShow Diagram
(4)
a. Tools Positioning tool
b.
Edit Copy Paste
(5)
a. Positioning tool
b.
(6) LED Positioning tool LED
(7) LED
a. LED Color tool
12
b.
GPIB
13
FLUKE 45 Digital Multimeter
1. 586
2. Win95
3. Labview 4.0
4. GPIBIEEE 488.2
5. FLUKE 45 Multimeter
6. PPS 1200 Power supply
Diode
10A 100mA
14
V
V V A A FREQ AUTO 2ND + MN,MX
Address
2ND
GPIB Command
MEAS
*IDN?
15
LabView
LabView Address
511
0.1V 2V 2V 0V
2ND Local
1. Digital Multimeter(DM)
2. DM
16
3. 2 DM AC DC
17
PS-1200 Digital Power Supply
Labview
1.586
2.Win95
3.Labview 4.0
4.GPIBIEEE 488.2
5.PS-1200
1. 3.99V
2. 1.69A
18
3. 4.50 V
4. 11
5.
6.
7.
GPIB
1. OUT1 or OUT0 1 open 0 close
2. VSET number number
3. ISET number number
GPIB LabVIEW
1.
A. addre
11
19
B. command GPIB
OUT1 VSET 12 VOUT?
C. Retern Mesge
12.000
D.
GPIB
2.
20
0V 0.1V
2.0V 0.1V 0V
21
1.
:
2. GPIB
3. LabVIEW
4. LabVIEW
1.(PS)
2.(PS)(DM)
22
1. Kenneth L. Ratzlaff, Introduction to Computer-Assisted
Experimentation, John Wiley & Sons, (1987) 2. Robert A. Witte, Electronic Test Instruments, Prentice-Hall, Inc.
(1993) 3. William H Rigby &Terry Dalby, Computer Interfacing, Prentice-Hall,
Inc., (1995) 4. Low Level Measurements, Keithley Instruments, Inc., (1993) 5. Albert P. Malvino, Experiments for Electronic Principles, 4th ed.,
McGraw-Hill, Inc., (1989) 6. David A. Bell. Electronic Instrumentation and Measurements,2nd ed.,
Prentice-Hall, Inc., (1994)