Download presentation
Presentation is loading. Please wait.
Published byNeil Ward Modified over 9 years ago
1
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków The ELQA LabVIEW Application Framework or how to become a successful test system developer
2
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Outline Quick LabVIEW introduction Typical design patterns and application architectures ELQA Application Framework Examples Nothing about Actor Framework in this presentation
3
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków What is LabVIEW from ni.com: LabVIEW System Design Software LabVIEW software is ideal for any measurement or control system. (…) LabVIEW is a development environment (…) The most important thing: Graphical, data driven programming
4
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków 2 minute LabVIEW course
5
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków 2 minute LabVIEW course
6
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków 2 minute LabVIEW course
7
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków LabVIEW state machine
8
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków LabVIEW queued message handler
9
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków JKI - String-Based Queued State Machine
10
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków JKI - String-Based Queued State Machine What’s nice about it? Structure of cases Macros Error handling Closing of the front panel on exit
11
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków JKI - String-Based Queued State Machine What’s not so nice about it? Error handling – where did the error come from? User interface handling is done only when the queue is empty – in the idle state What if we want few loops in parallel? – no way to add states to the queue from outside the loop It’s parsing this huge string with the state list on every iteration – we have fast computers we could live with it
12
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Back to LabVIEW course pass by value vs. pass by reference
13
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Back to LabVIEW course– Queues
14
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków ELQA Application Framework
15
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków ELQA Application Framework Create queues (one or many) Add states to the selected queue or to all of them De-queue the states from the selected queue or return ‘meta states’ Release the queues
16
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Create Queues Each state added to the queue has a state name and can have an argument Each queue has a semaphore associated with it
17
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Enqueue States (polymorphic VI)
18
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Adding multiple states to the queue
19
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Enqueue States (polymorphic VI) Acquire semaphore (de-queueing is stopped) Release semaphore (de-queueing is re- started)
20
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Enqueue States (polymorphic VI)
21
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Parse Queue
22
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Release Queues
23
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Examples – 600 A EE Switch Test
24
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Examples – 600 A EE Switch Test
25
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Examples TP4/C50 connector check
26
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków Examples – CT tester more parallel loops User interface Main data acquisition and data handling Trigger signal generation Secondary data acquisition Stimulus generation System monitoring and software interlock Speech synthesis
27
TE-MPE-TM meeting 09/10/2014, Jaromir Ludwin, IFJ-PAN, Kraków The framework can be downloaded from my web page: http://cern.ch/jludwin/ Thank you for your attention
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.