Оцените презентацию от 1 до 5 баллов!
Тип файла:
ppt / pptx (powerpoint)
Всего слайдов:
14 слайдов
Для класса:
1,2,3,4,5,6,7,8,9,10,11
Размер файла:
351.00 kB
Просмотров:
50
Скачиваний:
0
Автор:
неизвестен
Слайды и текст к этой презентации:
№1 слайд![TLB Top Level Baseline](/documents_6/7141970b6c6690d6da5217373ef9a073/img0.jpg)
Содержание слайда: TLB – Top Level Baseline
application and component
template/tool
№2 слайд![Top Level? A VI that can be](/documents_6/7141970b6c6690d6da5217373ef9a073/img1.jpg)
Содержание слайда: Top Level?
A VI that can be considered the primary of a system
or major component of a system
Typically has front panel shown
but not a requirement
Controls flow of application and processing
Processing happens within executed states
Runs for lifetime of application or component
№3 слайд![Get Installed Install VI](/documents_6/7141970b6c6690d6da5217373ef9a073/img2.jpg)
Содержание слайда: Get Installed
Install VI Package Manager (free community edition)
www.jki.net
Install package
http://lavag.org/topic/13003-tlb-top-level-baseline/
Restart LV
Refreshes tools menu
№4 слайд![Get Developing Tools gt gt](/documents_6/7141970b6c6690d6da5217373ef9a073/img3.jpg)
Содержание слайда: Get Developing
Tools>>TLB – New Baseline
Follow Interactive Dialog
№5 слайд![Baseline Architecture](/documents_6/7141970b6c6690d6da5217373ef9a073/img4.jpg)
Содержание слайда: Baseline Architecture
Application INIT
once and only once code
№6 слайд![Application INIT Sequence of](/documents_6/7141970b6c6690d6da5217373ef9a073/img5.jpg)
Содержание слайда: Application INIT
Sequence of cases
primes the application
stacked instead of flat for cleanliness
Not ‘all’ init. code goes here
Just once and only once stuff
Enqueues specific set of states to Primary Execution
№7 слайд![Event Handler Responsive to](/documents_6/7141970b6c6690d6da5217373ef9a073/img6.jpg)
Содержание слайда: Event Handler
Responsive to button pushes and value changes
Pre-defined cases handle window close and shutdown
Source of queued messages to Primary Execution
№8 слайд![Primary Execution Pre-defined](/documents_6/7141970b6c6690d6da5217373ef9a073/img7.jpg)
Содержание слайда: Primary Execution
Pre-defined cases handle common functions
Init
Error
95% of work happens here
‘Default’ case handles state typos
№9 слайд![Application Close Handles](/documents_6/7141970b6c6690d6da5217373ef9a073/img8.jpg)
Содержание слайда: Application Close
Handles display consideration if built into EXE
No real processing should happen here
Use ‘Exit’ in Primary Execution
№10 слайд![The SHIFTER Master state](/documents_6/7141970b6c6690d6da5217373ef9a073/img9.jpg)
Содержание слайда: The SHIFTER
Master state cluster
ALL data associated with application
NEVER send into sub-VI
Easily add elements through Typedef shortcut
№11 слайд![User Parameters Scalar inputs](/documents_6/7141970b6c6690d6da5217373ef9a073/img10.jpg)
Содержание слайда: ‘User Parameters’
Scalar inputs on the front panel
numerics, strings, etc.
Register for ‘value change’ event dynamically
Prevents event structure bloat
All terminals in 1 state: Update User Param.
Enables all param to be accessible to entire program without need for local Var
№12 слайд![Display Data Scalars, plots](/documents_6/7141970b6c6690d6da5217373ef9a073/img11.jpg)
Содержание слайда: ‘Display Data’
Scalars, plots etc
Any thing that needs to get updated on the panel
Store in shifter to provide data access to entire app
Instead of outputting directly to indicator
Call ‘Update Display’ state to refresh display
№13 слайд![Extra Handy Things Gracefully](/documents_6/7141970b6c6690d6da5217373ef9a073/img12.jpg)
Содержание слайда: Extra Handy Things
Gracefully shuts down both loops
Idle state defaults to 1s delay
Caches current values of controls on startup in case of change while not running
Graceful error in case of typo
Interactive or headless execution
Your choice
Error handling allows Stop OR continue
№14 слайд![Closing note Appropriate for](/documents_6/7141970b6c6690d6da5217373ef9a073/img13.jpg)
Содержание слайда: Closing note
Appropriate for simple and intermediate grade applications
THIS IS NOT OVERKILL – it has all those things that you end up implementing anyway