Presentation is loading. Please wait.

Presentation is loading. Please wait.

Applying UML to TestStand and LabVIEW

Similar presentations


Presentation on theme: "Applying UML to TestStand and LabVIEW"— Presentation transcript:

1 Applying UML to TestStand and LabVIEW
Matthew Kennedy Engineering Manager Title Slide Guidelines Title Slide should be in Arial Narrow and always 38 point BOLD. This section contains the title of the presentation (consequently, the presentation file should be saved as the SAME name of the title). There should be a space between the Title and the Presenter Name. The next text should be Arial Narrow and always 32 point NORMAL. This line contains the presenters name and title if they choose. The last line (s) should still be Arial Narrow and always 32 point NORMAL. These line/lines can reflect the presentation date, time, room, etc.

2 Software project problems Why UML?
Agenda Software project problems Why UML? Useful UML tools for TestStand and LabVIEW Conclusion Resources * This is not a UML course. Just not enough time. Slide Page and Graphic Guidelines The Slide Title can be 36 point or 32 point (but never smaller), and always BOLD. The Slide Title should not be underlined or italicized. The body of the slide should follow the above format with regards to size and bullet format. The body CAN be emphasized in anyway you need it to be (bold, italics, underline, and so on). Total text area should be limited to the space defined by the ruler guides (click on the slide and you should see a dotted line top, bottom and sides.) Graphics belong below the major text, not above it. (Captions may be below the graphics). Graphics go to the right of the body text. COLOR- Select colors that are darker and not muted, do not use yellow, orange, or other light colors for important information. Keep in mind this needs to show when printed in black and white. Do not use colors to “define” something in the text. You will not be able to match the color definition when printing in black and white.

3 Software Project Problems
Software functionality Requirements definition End users and programmers exist in different worlds and speak different languages Requirements get lost or misunderstood Software programmers don’t have clear requirements, skip design, and go straight to code development Slide Page and Graphic Guidelines The Slide Title can be 36 point or 32 point (but never smaller), and always BOLD. The Slide Title should not be underlined or italicized. The body of the slide should follow the above format with regards to size and bullet format. The body CAN be emphasized in anyway you need it to be (bold, italics, underline, and so on). Total text area should be limited to the space defined by the ruler guides (click on the slide and you should see a dotted line top, bottom and sides.) Graphics belong below the major text, not above it. (Captions may be below the graphics). Graphics go to the right of the body text. COLOR- Select colors that are darker and not muted, do not use yellow, orange, or other light colors for important information. Keep in mind this needs to show when printed in black and white. Do not use colors to “define” something in the text. You will not be able to match the color definition when printing in black and white.

4 Minimize Software Project Cost
“Just complete the software THEN fix it.” Three simple rules: State requirements Create system design Code to the design Units Stage .1-.2 Requirements .5 Design 1 Coding 2 Unit test 5 Acceptance test 20 Maintenance Slide Page and Graphic Guidelines The Slide Title can be 36 point or 32 point (but never smaller), and always BOLD. The Slide Title should not be underlined or italicized. The body of the slide should follow the above format with regards to size and bullet format. The body CAN be emphasized in anyway you need it to be (bold, italics, underline, and so on). Total text area should be limited to the space defined by the ruler guides (click on the slide and you should see a dotted line top, bottom and sides.) Graphics belong below the major text, not above it. (Captions may be below the graphics). Graphics go to the right of the body text. COLOR- Select colors that are darker and not muted, do not use yellow, orange, or other light colors for important information. Keep in mind this needs to show when printed in black and white. Do not use colors to “define” something in the text. You will not be able to match the color definition when printing in black and white. 1 unit=Effort required to detect and repair a error during coding

5 UML can help software programmers and project engineers to:
Where Does UML Come In? UML can help software programmers and project engineers to: Define customer requirements Create basic designs Set of notation and meta-model language tools Defined notation Applicable to many programming languages Makes programmers put pencil to paper and diagram/plan systems Slide Page and Graphic Guidelines The Slide Title can be 36 point or 32 point (but never smaller), and always BOLD. The Slide Title should not be underlined or italicized. The body of the slide should follow the above format with regards to size and bullet format. The body CAN be emphasized in anyway you need it to be (bold, italics, underline, and so on). Total text area should be limited to the space defined by the ruler guides (click on the slide and you should see a dotted line top, bottom and sides.) Graphics belong below the major text, not above it. (Captions may be below the graphics). Graphics go to the right of the body text. COLOR- Select colors that are darker and not muted, do not use yellow, orange, or other light colors for important information. Keep in mind this needs to show when printed in black and white. Do not use colors to “define” something in the text. You will not be able to match the color definition when printing in black and white.

6 Useful UML Tools for LabVIEW and TestStand
Use cases Interaction diagrams Sequence diagrams Activity diagrams

7 Use case Stage 1: Requirements
First step toward defining a software system A set of scenarios tied together by a common user goal Describes what system must do

8 Use Case Example Example: Load UUT for test Communicate requirements
Main success scenario: Operator picks up UUT from rack Operator checks UUT socket clear Operator inserts UUT into test fixture Operator starts test Fixture locks down UUT Test begins Extension 5a. Fixture fails to lock down 5a1. Eject UUT 5a2. Reset test system 5a3. System request maintenance Communicate requirements A set of scenarios tied together by a common user goal Plain language Actor

9 Use Case Diagram – Example

10 Use Cases – Final Thought
Of all UML tools, use cases are arguably the most important Key to ensure a successful requirements stage Actors are not always easy to identify Actor could be the test system itself, a sequence, etc. Meant to be simple but detailed enough to manage project scope

11 Stage 2: Design Sequence diagram Activity diagram State diagram
Describes how groups of objects or processes behave in a sequential and concurrent manner Typically defines a single use case Activity diagram A state of doing something Describes sequence of activity State diagram Describes all possible states that can occur in a system

12 Sequence Diagram Example
Latch UUT For Test

13 Activity Diagram Latch UUT For Test

14 State Diagram Read Latch Switch Activity

15 Software design must be implemented Obvious implementations
Stage 3: Coding Software design must be implemented Obvious implementations State diagrams: LabVIEW state machines Sequence diagrams: TestStand sequence LabVIEW dataflow programming Sequence structures Activity diagrams: LabVIEW state machines TestStand sequences Using a state diagram does not mean you must use a LabVIEW state machine

16 Isn’t UML just another flowchart? Widely accepted standard
Fancy Flowcharts? Isn’t UML just another flowchart? Widely accepted standard Intuitive to use Many end users already have familiarity with UML Instantly start talking the same language Plenty of resources to help Flowcharts and more with standardized notation

17 More UML Uses Tools for programming graphical object orientated code in LabVIEW – GOOP Useful for class diagrams, package and collaborations diagrams Some projects require merging traditional text-based OOP languages and LabVIEW UML design tools do not necessarily determine implementation Mix and match the appropriate tools and ADEs

18 New LabVIEW state machine wizard
Tools to Help Rational Rose Visio – UML toolkit New LabVIEW state machine wizard Any word processor: Use case development

19 Keep use cases detailed
Lessons Learned Keep use cases detailed Avoid using language-specific information of software design in use cases Use swimlanes with activity diagrams to assist in modularizing TestStand sequence development Finish state machine diagram before writing LabVIEW code Use only what you need Unnecessary to use every diagram tool to adequately design a software system

20 Conclusion UML is an industry-accepted standard for developing software architectures More and more people are becoming aware of the benefits of using UML UML is an excellent tool for developing LabVIEW and TestStand architectures BEFORE coding Use appropriate UML tools UML can save time and money by preventing costly rework

21 UML Distilled Second Edition, Martin Fowler and Kendall Scott
Recommended Reading UML Distilled Second Edition, Martin Fowler and Kendall Scott Managing Software Requirements a Unified Approach, Dean Leffingwell and Don Widring The Unified Modeling Language Guide, Grady Booch, Ivar Jacobson, James Rumbaugh Writing Effective Use Cases, Alistair Cockburn

22 Web Resources Use-cases.org foruse.com UML.org Rational.com

23 Test, measurement, automation, and control specialists since 1991
About Bloomy Controls Test, measurement, automation, and control specialists since 1991 Systems integration, software development, and training provider NI Select Integrator and Certified Training Center 3 Certified LabVIEW Architects 8 Certified LabVIEW Developers 1 Certified TestStand Architect 2 Certified TestStand Developers 8 Certified Professional Instructors Offices in Windsor, CT; Milford, MA; and Mahwah, NJ

24 Email info@bloomy.com Write or visit Contact Bloomy Controls
CT, Western MA, Eastern NY: Eastern MA, RI, Northern New England: Greater NYC, NJ: 839 Marshall Phelps Rd. 100 Medway Rd., Ste 202 Windsor, CT 06095 Milford, MA 01757 Mahwah, NJ (860) (508) (201)


Download ppt "Applying UML to TestStand and LabVIEW"

Similar presentations


Ads by Google