Upload
hectorlopez
View
217
Download
0
Embed Size (px)
Citation preview
8/9/2019 LV_8[1].20_CZ
1/78
Radim ŠTEFAN, Roman VALA
8/9/2019 LV_8[1].20_CZ
2/78
Radim ŠTEFANNational InstrumentsPraha
110 00
765 356 876410 0! 456
radim"ste#an$ni"%om
6 16 5 4 &
300 '(
)as*h# lasd)*h# la)*d +a)*d#h la)*dhal
, )a*sdh# la)sdh#oaid#h )% al)*dh# al)*d#
- ad*h al)d*hl a).d* la)s)d*# h/sl)d*#hsl) #/
*)dh# a)*sdh# l)asdhl#hi eru#hi suh#)d*
LEGOMindstorms NXT
Možnost výhry !!!
8/9/2019 LV_8[1].20_CZ
3/78
LabVIE "ra#i$%& vývo'ov& (rost)*d+
• Kompilované grafické vývojové prostředí
• Vývoj 4x-10x rc!lej"í oproti #$%ném& programov'ní• ('stroje pro s#$r) analý*& a *o#ra*ení dat
8/9/2019 LV_8[1].20_CZ
4/78
LabVIE '*dnod,$h& (ro"ramov-n+ LabVIE ./
* does not include code to generate UI
8/9/2019 LV_8[1].20_CZ
5/78
2005
2006
2003
2005
1998
2000
1993
1997
1990
19921986
LabVIE 012
+or ,acintos!
LabVIE 312ompiled .ang&age
LabVIE+or /&n) indos
LabVIE 412,<iplatform
LabVIE 5122rofessional
3evelopment
LabVIE 6i nternet 5ead
LabVIE 7126ndo7 5eal-8ime
LabVIE 8 E9(r*ss239 and +2:9
LabVIE
;m#edded and 3/2
9nniversar ;dition
LabVIE :3istri#&ted ntelligence
32 ;*ars o# Innovation
8/9/2019 LV_8[1].20_CZ
6/78
• ,ake common meas&rements EA
8/9/2019 LV_8[1].20_CZ
7/78
Ma'or F*at,r*s in LabVIE :132
• Math3 2ict&re ontrol
• 3.. mport i*ard
• 83, /treaming
ni1$om?@abvi*?,("rad*
8/9/2019 LV_8[1].20_CZ
8/78
LabVIE Math
8/9/2019 LV_8[1].20_CZ
9/78
hat Is LabVIE Math
8/9/2019 LV_8[1].20_CZ
10/78
Math
8/9/2019 LV_8[1].20_CZ
11/78
Math
8/9/2019 LV_8[1].20_CZ
12/78
Math
8/9/2019 LV_8[1].20_CZ
13/78
Th* Math
8/9/2019 LV_8[1].20_CZ
14/78
Th* Math
8/9/2019 LV_8[1].20_CZ
15/78
Th* Math
8/9/2019 LV_8[1].20_CZ
16/78
Math
8/9/2019 LV_8[1].20_CZ
17/78
Math
8/9/2019 LV_8[1].20_CZ
18/78
=ro"rammati$ Math ith th* Math
8/9/2019 LV_8[1].20_CZ
19/78
8/9/2019 LV_8[1].20_CZ
20/78
D*mo Math
8/9/2019 LV_8[1].20_CZ
21/78
8/9/2019 LV_8[1].20_CZ
22/78
Ma'or F*at,r*s in LabVIE :132
• ,at!/cript• Ob'*$tHOri*nt*d =ro"rammin"
• >3 2ict&re ontrol
• 3.. mport i*ard
• 83, /treaming
• I?
ni1$om?@abvi*?,("rad*
8/9/2019 LV_8[1].20_CZ
23/78
LabVIE Ob'*$tHOri*nt*d =ro"rammin"
+or poer programmers and large-scaleapplication development
=ar*nt .@ass
.hi@d .@ass
•
;ncaps&lation
lasses and o#jects
n!eritance
8/9/2019 LV_8[1].20_CZ
24/78
8/9/2019 LV_8[1].20_CZ
25/78
Ma'or F*at,r*s in LabVIE :132
• ,at!/cript• =#ject-=riented 2rogramming
• 4D =i$t,r* .ontro@
• 3.. mport i*ard
• 83, /treaming
• I?
ni1$om?@abvi*?,("rad*
8/9/2019 LV_8[1].20_CZ
26/78
istory o# 4D in LabVIE
• LabVIE 710B +irst >3 :rap!s availa#leB omponentorks controls #ased on
9ctiveE
• LabVIE 810
B +irst >3 2ict&re ontrol softareB /eparate donloadB (o tec!nical s&pport offered
8/9/2019 LV_8[1].20_CZ
27/78
4D =i$t,r* .ontro@
• reate >3 scenes &sing pict&re control Vs• ontrol o#ject motion) si*e) and color &sing =pen:.
• mport o#jects from design tools JV5,.) /8.) 9/; emo
8/9/2019 LV_8[1].20_CZ
28/78
o Do*s it or%B
• ntrod&ction to 92B :eometries
• @ox) one) linder)
8/9/2019 LV_8[1].20_CZ
29/78
J*n*#its o# N* 4D =i$t,r* .ontro@
• ;as to &se 92
• 2oerf&lB
8/9/2019 LV_8[1].20_CZ
30/78
D*mo 4D Too@s
8/9/2019 LV_8[1].20_CZ
31/78
E9am(@* o# 4D s$*n*
8/9/2019 LV_8[1].20_CZ
32/78
Ma'or F*at,r*s in LabVIE :132
• ,at!/cript• =#ject-=riented 2rogramming
• >3 2ict&re ontrol
• DLL Im(ort iKard and E9t*rna@ .od*
• 83, /treaming
• I?
ni1$om?@abvi*?,("rad*
8/9/2019 LV_8[1].20_CZ
33/78
istory o# .a@@in" E9t*rna@ .od*
• all .i#rar (odeB all s!ared li#raries in indos) ,acintos! and .in&x• 9ctiveE
B /&pport added in .a#V; 4?1
B ontainers and servers added in .a#V; DB ;vent s&pport added in .a#V; Ci
• ?(;8B /&pport for ?(;8 added in .a#V; M
B ?(;8 ena#led t!e s&pport for e# /ervices in .a#V;B /&pport for ?(;8 ;vents and ontrols in .a#V; N
8/9/2019 LV_8[1].20_CZ
34/78
.a@@ Library Nod* Advan$*s
• Oo& can no dnamicall load and unload s!ared li#raries
• ;rror cl&ster s&pport
• Vie parameter names on#lock diagram
• +&nction callbacks
8/9/2019 LV_8[1].20_CZ
35/78
DLL Im(ort iKard
9&tomaticall generate .a#V; interfaces to o&r 3..sand s!ared li#raries
/&pport forP indos J?dll) .in&x J?so ) ,acintos! J?frameork emo
8/9/2019 LV_8[1].20_CZ
36/78
8/9/2019 LV_8[1].20_CZ
37/78
1NET *b
8/9/2019 LV_8[1].20_CZ
38/78
Intern
et
e2 er.i%e Pro.iderse2 er.i%e Reuesters
*b
8/9/2019 LV_8[1].20_CZ
39/78
Instr,m*nt Driv*r E9(ort iKard
3evelop drivers in .a#V;) re&se in
Instr,m*nt Driv*r E9(ort iKardDLLC 1hC and *@(
Fi@*s
8/9/2019 LV_8[1].20_CZ
40/78
. Int*r#a$* G*n*rator
• Oo& can no create drivers in.a#V;) t!en &se in • raps .V 3..s for &se in • onverts parameters to data
tpes• ,odifies doc&mentation to #e
specific
8/9/2019 LV_8[1].20_CZ
41/78
Ma'or F*at,r*s in LabVIE :132
• ,at!/cript• =#ject-=riented 2rogramming
• >3 2ict&re ontrol
• 3.. mport i*ard
• TDM
8/9/2019 LV_8[1].20_CZ
42/78
TDM
8/9/2019 LV_8[1].20_CZ
43/78
NI .or* TDM .om(on*nts• 83, 3ata ,odel G +ile
• 83, /treaming Vs
• 3ata /torage Vs
• 3ata2l&gins• 39dem 3ata+inder
n t!is second !alf of t!e presentation eQll investigate !o o&&se 83, to address o&r data management c!allenges
http://var/www/apps/conversion/tmp/scratch_1/demos%5CTDMS%5CTDMS%20-%20Write%20data%20(time%20domain).vi
8/9/2019 LV_8[1].20_CZ
44/78
TDM Fi@*s ar*
8/9/2019 LV_8[1].20_CZ
45/78
Int*r#a$in" ith th* TDM Data Mod*@TDM
8/9/2019 LV_8[1].20_CZ
46/78
8/9/2019 LV_8[1].20_CZ
47/78
Th* LabVIE TDM
8/9/2019 LV_8[1].20_CZ
48/78
8/9/2019 LV_8[1].20_CZ
49/78
E9$*@ $an @oad and r*ad TDM< Fi@*s• ;xcel can load 83, +iles
• Visit) ?ni?comHtdm and donload ;xcel 9dd-in for83,?
8/9/2019 LV_8[1].20_CZ
50/78
Ma'or F*at,r*s in LabVIE :132
• ,at!/cript• =#ject-=riented 2rogramming
• >3 2ict&re ontrol
• 3.. mport i*ard
• 83, /treaming
• Oth*r F*at,r*s
ni1$om?@abvi*?,("rad*
http://www.ni.com/tdmhttp://www.ni.com/tdm
8/9/2019 LV_8[1].20_CZ
51/78
Im(rov*d R*mot* =an*@
8/9/2019 LV_8[1].20_CZ
52/78
LabVIE
8/9/2019 LV_8[1].20_CZ
53/78
FrontH=an*@ a@@ =a(*r
R i / h
t 5 l i %
)
;asil em#ed scala#le image
8/9/2019 LV_8[1].20_CZ
54/78
N* Fi@* I?O .a(abi@iti*s
• .ist all files and folders in pat!
• !eck if file or folder exists
• ompare to file pat!s
+o&nd on 9dv? +ile H= palette
8/9/2019 LV_8[1].20_CZ
55/78
A,toHJa$%,( and R*stor*
• 2eriodicall #acks &p all &nsaved files
• 5estores Vs to selected state• 2erforms grap!ical differencing of #ack&p and original J23/
8/9/2019 LV_8[1].20_CZ
56/78
• ,erge or replace !ardareconfig&ration settings ontarget 2s
• /peed installer creation #cac!ing driver softare ondisk
• 9&to-increment exec&ta#le)3..) and installer versions
A((@i$ation J,i@d*r Enhan$*m*nts
8/9/2019 LV_8[1].20_CZ
57/78
J,i@din" on th* Innovations o# LabVIE :Environm*nt im(rov*m*nts
V load time red&ced # &p to 40R+irst la&nc! time red&ced &p to >0R
.om(@*t*n*ss9pplication @&ilder
/!ared varia#le J239) 8o&c! 2anel
;m#edded development
E9*$,tion s(**d
58 23 algorit!m 14E faster/!ared varia#le M0R faster &pdate/im&lation mod&le SE faster r&nHcompile
=*r#orman$* T,nin"
8/9/2019 LV_8[1].20_CZ
58/78
Easy1 =o*r#,@1 O(*n1Gra(hi$a@ =@at#orm #or D*si"nC .ontro@C and T*st
R*a@HTim* Mod,@*
F=GAMod,@*
=DA andTo,$h =an*@
Mod,@*s
D
8/9/2019 LV_8[1].20_CZ
59/78
D*si"nC Distrib,t*C and
8/9/2019 LV_8[1].20_CZ
60/78
• +2:9 i*ard
• 5eal-time applications on t!e desktop
• (e 8o&c! 2anel ,od&le
• /!ared varia#le on .a#V; 239
• .a#V; ;m#edded project integration
$ew Targeting Tec%nology Extends Distributed &ntelligence
8/9/2019 LV_8[1].20_CZ
61/78
LabVIE F=GA iKard
VDL
LabVIE F=GA iKard
reate intelligent 39T devices it! c&stom timing and H=
LabVIE 8Express
emo
8/9/2019 LV_8[1].20_CZ
62/78
D*mo F=GA iKard
http://var/www/apps/conversion/tmp/scratch_1/Demos%5CFPGA%5CFPGA%20Control.lvproj
8/9/2019 LV_8[1].20_CZ
63/78
R*a@HTim* A((@i$ations on a D*s%to( .om(,t*r• 5&n real-time applications on compati#le 2s
• 3onload ne sstem validator to test compati#ilit
• onvert 2s into a real-time sstem it! t!e 5eal-8ime
3esktop @&ndle
""".alidated
8/9/2019 LV_8[1].20_CZ
64/78
$E' LabVIE To,$h =an*@ Mod,@*
reate c&stom !&man-mac!ine interface J
8/9/2019 LV_8[1].20_CZ
65/78
b b dd d @ d @
8/9/2019 LV_8[1].20_CZ
66/78
•2rogram an >U-#it microprocessor
•,anage em#edded targets from t!e .a#V; 2roject•(e example targets B 95,M and 8 CE
LabVIE Emb*dd*d D*v*@o(m*nt Mod,@*
8/9/2019 LV_8[1].20_CZ
67/78
LabVIE #or LEGO Mindstorms NXT
8/9/2019 LV_8[1].20_CZ
68/78
• 3esign tool connectivit
• 8ext&al mat!
• ontrol design and
sim&lation
• 5+ design and test
ridging Design and Test wit% *rap%ical Syste+ Design
L bVIE . t @ D i d
8/9/2019 LV_8[1].20_CZ
69/78
LabVIE .ontro@ D*si"n and
8/9/2019 LV_8[1].20_CZ
70/78
M*$hani$a@ D*si"n/olidorks .O
8/9/2019 LV_8[1].20_CZ
71/78
LabVIE Mod,@ation Too@%it
• AMC FMC =M
• A
8/9/2019 LV_8[1].20_CZ
72/78
D*mo RF Mod,@ation
N L bVIE : 32 D
8/9/2019 LV_8[1].20_CZ
73/78
• UE data-logging performance improvement t!ro&g! s!ared varia#le• 8ools for poer programming
B nstantl create t!o&sands of s!ared varia#les programmaticall
B ;xpress V to create H= servers Je?g?) =2) ,od#&s) etc?• /end alarms and events to printers as t!e occ&r
N* LabVIE :132 D
8/9/2019 LV_8[1].20_CZ
74/78
• Ob'*$tHori*nt*d "ra(hi$a@ (ro"rammin"
• =pen:.-#ased >3 2ict&re ontrol• ,<i&ser e#-#ased application control
• i"hHs(**d TDM data str*amin"
• /implified dnamic V calling
• A,toHba$%,( and r*$ov*ry o# VIs
• 3.. import i*ard
• ;xpress V for contin&o&s data acF&isition
• .a#V; 5eal-8ime 6/@ #oot disk
• interface export i*ard for instr&ment drivers
• ?(;8 e# service import i*ard• =+3, example programs
• /stem replication tools for real-time sstems
• +aster real-time intert!read comm&nication• 6/@ storage it! .a#V; 5eal-8ime
• +2:9 i*ard
• (e +2:9 2 for mat! and signal processing
• C4-#it integer s&pport it! .a#V; +2:9
• mproved memor access for .a#V; +2:9• .a#V; 239 &ser interface improvements
•
8/9/2019 LV_8[1].20_CZ
75/78
.*ny a ,("rad* na
• Nov& @i$*n$* LabVIE b*K D=B @ase 2ackage >1 0U0)-B +&ll 3evelopment /stém CU 0M0)-B 2rofessional 3evelopment /stem 10C 0C0)-
• D*v*@o(*r
8/9/2019 LV_8[1].20_CZ
76/78
.*ny (ro %o@y
• =@on- @i$*ns* (ro $*@o, %at*dr,C #a%,@t,C ,niv*rKit,B Katedr'lní licence na ( softare 1U> M>0)-
• Li$*n$* LabVIE (ro vý,%,B .icence na 10 poítaW J.a#V; +3/ 4M 000)-
• ombina$* a
8/9/2019 LV_8[1].20_CZ
77/78
Š%o@*n+ n*'ry$h@*'+ $*sta % (rod,%tivit[
• Yesk' po#oka *aji"Z&je "kolení v"ec! prod&ktW (• =fici'lní "kolící materi'l a certifik't
•
8/9/2019 LV_8[1].20_CZ
78/78